close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

cannot get images to show for products

Thread began 1/16/2015 10:40 am by willo009412397 | Last modified 1/16/2015 1:27 pm by Jason Byrnes | 279 views | 5 replies |

willo009412397

cannot get images to show for products

Cannot get images to show for my products and details page, it just shows the name of the image.

Attached Files
ForWebassist.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the code for the image source:
src="<?php echo $row_WADAproducts["../ProductImage"]; ?>"


should not have the path in the echo, but outside:
src="../<?php echo $row_WADAproducts["ProductImage"]; ?>"

Sign in to reply to this post

willo009412397

Sorry i do not understand, it would be better if you could point me to a tutorial that covers this process of getting images to show, Or explain in depth this process as i can find no information to help me. Thankyou for your speedy reply

Rgds Karl

Sign in to reply to this post

Jason ByrnesWebAssist

see the database starter kit tutorial:
http://www.webassist.com/tutorials/Getting-started-with-MySQL-and-dynamic-websites

Sign in to reply to this post

willo009412397

yes its a great tutorial , but i have created my website using datassist. And in this tutorial it seems to be creating the website from scratch which is confusing me. Is there a tutorial which shows simalr but using dataassist for creating the pages?

Sign in to reply to this post

Jason ByrnesWebAssist

theres really no difference editing a data assist created page to show images versus creating the page from scratch.

in the page you sent, the problem is that way you are adding the path to the image source. you adding the path inside the recordset column name:
src="<?php echo $row_WADAproducts["../ProductImage"]; ?>"
../ProductImage

and it should be added outside of the recordset echo:
src="../<?php echo $row_WADAproducts["../ProductImage"]; ?>"

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