close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Thumnail images not displaying

Thread began 7/22/2011 7:11 pm by tiabradford427079 | Last modified 9/29/2015 5:37 pm by Ray Borduin | 2315 views | 19 replies |

tiabradford427079

Thumnail images not displaying

Hello,

I have the backend administration of my shopping cart set up and working properly. However the thumbnail image does not display in items_Detail.php. I have this info in my properties panel under Src.

<img src="../images/art/thm/<?php echo $row_WADAitems['ItemImage']; ?>" alt="" id="WADAPageHeaderImage" />

My images folder is in the site root. I tested the path through the browser to the images and the pics show.

Any ideas?

Sign in to reply to this post

Ray BorduinWebAssist

Does your ItemImage field in the database have the full image name including the extension like: "myimage.jpg", or is it incomplete? Look at the source code on the page to see the full resulting code and see if you can spot the problem.

It is probably an issue with the insert into the database and not with the display.

Sign in to reply to this post

tiabradford427079

I did as you instructed an yes the extension is showing for the images.

Sign in to reply to this post

Ray BorduinWebAssist

View the source code on the page displaying the image. Does the <img src=""> value for the src look correct to you? It must be wrong somehow. Do you have a url where I can view the page?

Sign in to reply to this post

tiabradford427079

Here is the info from the WADAHeaderPageArea. I am using Security Assist so to view it you would need a username and password. The path is correct to where the images are. I made sure to remove the height restriction from the CSS

<div id="WADAPageHeaderArea">
<div id="WADAPageHeaderImageArea">
<img src="images/art/CelticMandala.jpg" alt="" id="WADAPageHeaderImage">
</div>
<div id="WADAPageHeaderInfoArea">
<div id="WADAPageHeaderItemName">
CELTIC MANDALA
</div>
<p id="WADAPageHeaderItemDescription">
&nbsp;
</p>
<div id="WADAPageHeaderButtonPrice">
<div id="WADAPageHeaderButton">
[ ]
</div>
<div id="WADAPageHeaderPrice">
700.00
</div>
<div class="WADAClearBoth">
</div>
</div>
</div>

Sign in to reply to this post

Ray BorduinWebAssist

The path must be incorrect... or else it would work.

Maybe it should be:

<img src="/images/art/CelticMandala.jpg" alt="" id="WADAPageHeaderImage">

Is your page in a subdirectory? Is the image folder in a different directory?

Sign in to reply to this post

tiabradford427079

yes, my page items_Detail.php is in a folder in the root called Admin. From the root, my images are inside of a folder named art which is inside the folder called images.

Sign in to reply to this post

Ray BorduinWebAssist

so from the root of the site, the path to images is:
/Admin/images/art/CelticMandala.jpg ?

Can you send me a link to the image and the url to the page? I should be able to see the image without logging in and won't need to actually view the page I just want to see the path.

Sign in to reply to this post

tiabradford427079

CelticMandala.jpg

Sign in to reply to this post

tiabradford427079

That is a link to the larger image.

I have another sub directory images/art/thm/celticmandala.jpg

I would like to use these thumbnail images. Here is the link

CelticMandala.jpg

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...