close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Dynamic Image Display in Data Assist

Thread began 8/10/2012 2:40 am by john70964 | Last modified 8/10/2012 9:18 am by Ian S | 1074 views | 3 replies |

john70964

Dynamic Image Display in Data Assist

Dynamic Image Display in Data Assist

I just wanted to check if I am missing some thing.

To have a dynamic image display, I went to Insert > Image > Data sources and selected the image field required
This inserted the code
<img src="<?php echo $row_WADAboats['image1_thumb']; ?>" alt="Thumb Display Image" />
This did not work until I placed the folder where the images are stored
eg
<img src="imagefolder/<?php echo $row_WADAboats['image1_thumb']; ?>" alt="Thumb Display Image" />
I wondered if I missed a step in the insert process or whether it is necessary to place in the extra path each time.
Thanks
John

Sign in to reply to this post

Ian S

Hi John

If you are only storing the image filename in the database, then yes you will need to manually add the path to the IMG tag, otherwise the web page will not know where to load the image from.

If you were storing the image path in the database along with the filename, then you wouldn't need to do this.

Cheers
Ian

Sign in to reply to this post

john70964

Many thanks Ian for clarifying that point for me.

Regards

John

Sign in to reply to this post

Ian S

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