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

product thumbnail

Thread began 5/18/2011 3:31 pm by cicyou421883 | Last modified 5/23/2011 5:03 pm by Jason Byrnes | 1286 views | 5 replies |

cicyou421883

product thumbnail

I cannot get my product thumbnail to show on the products_Detail page.

The images show, but not the thumbnail. Tutorial for images had to bind source. Please advise so the that the thumbnail will show on all pages when products_Insert is used.

Thanx, Cathy

Sign in to reply to this post

anonymous

Did you double check to make sure that the path to your thumbnail is correct? Also, if you could, post your code here so that someone who may be able to help can get a look at it to see what is going on.

Best regards,

Brian

Sign in to reply to this post

cicyou421883

Product Thumbnail in cart

Here is the code on cart.php. Path appears to be correct. Tried is with the current ../images and without the ../

while (!$californianatural->EOF()) {
?>
<tr>
<td class="eC_GroupColumn"><a href="../products_Detail.php?<?php echo $californianatural->DisplayInfo("ID"); ?>="><img src="../images/<?php echo $californianatural->DisplayInfo("Thumbnail"); ?>" alt="Product thumbnail" class="eC_ProductThumb" /></a>
<p class="eC_ItemName"><?php echo $californianatural->DisplayInfo("Name"); ?></p>
<p class="eC_ItemDescription">Description:&nbsp;<?php echo $californianatural->DisplayInfo("FullDetails"); ?></p></td>
<td class="eC_PriceItem"><?php echo WA_eCart_DisplayMoney($californianatural, $californianatural->DisplayInfo("Price")); ?></td>
<td class="eC_FormItem"><input type="text" name="californianatural_Quantity_<?php echo $californianatural->DisplayIndex; ?>" size="3" value="<?php echo $californianatural->DisplayInfo("Quantity"); ?>" /></td>
<td class="eC_FormItem"><input type="checkbox" value="<?php echo $californianatural->DisplayInfo("ID"); ?>" name="californianatural_Delete_<?php echo $californianatural->DisplayIndex; ?>" /></td>
<td class="eC_PriceItem"><?php echo WA_eCart_DisplayMoney($californianatural, $californianatural->DisplayInfo("TotalPrice")); ?></td>
</tr>
<?php

Link to cart.php page is

cart.php

Add Hair to cart since that thumbnail is ready to go

Thanx, Cathy

Sign in to reply to this post

Jason ByrnesWebAssist

looking at the source of your cart, the image src is being set to:
../images/images/hair75.jpg

<img src="../images/images/hair75.jpg" alt="Product thumbnail" class="eC_ProductThumb">




it looks like the add to cart button is already adding the path, the cart code should be:

<img src="<?php echo $californianatural->DisplayInfo("Thumbnail"); ?>" alt="Product thumbnail" class="eC_ProductThumb" />
Sign in to reply to this post

cicyou421883

Fixed

Hey Jason - This worked - thanx for the infor and code. Cathy

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

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...