close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

product images not showing in results and details pages

Thread began 11/20/2014 8:45 am by beaded | Last modified 11/20/2014 11:35 am by Jason Byrnes | 743 views | 3 replies |

beaded

product images not showing in results and details pages

I found what I thought was a missing path on line 313 or the results page, but adding a src path did not work. I haven't touched the details page from its original wizard generation; it also doesn't show the product image. Product images are located in images/products/

I'm using Dreamweaver CC on a Mac with Lion. Experience level "Mutton Head": still very little PHP grounding / two previous successful WA projects (with about 7 emails/calls for help)

I also have a question about how the category type nav menu will be accessed or posted. I will pose this question separately, but just in case my try messed the product images from showing. Followed the instructions in posting #2 here: http://www.webassist.com/forums/posts.php?id=30156

Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

beaded

Thanks Jason. I solved the image not appearing in results.
In line 313 of results.php this now works:
<div class="WADAResultThumbArea"><a href="products_detail.php?ProductID=<?php echo($row_WADAproducts['ProductID']); ?>" ><?php echo(isset($_GET["pageNum_WADAproducts"])?"&pageNum_WADAproducts=".intval($_GET["pageNum_WADAproducts"]):""); ?><img class="WADAResultThumb" border="0" src="images/products/<?php echo($row_WADAproducts['ProductThumb']); ?>" alt="<?php echo($row_WADAproducts['ProductShortDesc']); ?>" width="150"/></a></div>

What I previously had, incorrectly, was a quotation mark (") after images/products/ But the section of the line <?php echo($row_WADAproducts['ProductThumb']); ?>" is actually doing the adding of the final part of the path address. So no " needs to go in-between after src="images/products/


I do not have this uploaded yet, and I will see if I can find the similar mistake on my details page. I'll only request your help if I can't fix the details page myself. Again, the category menu is another issue, and that I'll ask your guidance on in a separate post, after I've uploaded all for you to examine. THANKS!

Sign in to reply to this post

Jason ByrnesWebAssist

ok, glad to hear you found the problem.

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