close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Can I load an image dynamically via the bindings

Thread began 10/21/2010 4:54 pm by elewis93815 | Last modified 10/22/2010 1:59 pm by elewis93815 | 1062 views | 2 replies |

elewis93815

Can I load an image dynamically via the bindings

Hi,

I'm building a products page via eCart and can't figure out how to load the product images dynamically. I have created the record set and have inserted the image bindings: Image, description, price and item name. All of my text loads dynamically, the image is the only element that does not show the picture it shows the text (image file name i.e. red_cupcake.jpg).

Please advise.

Thanks

Erick

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

CraigRBeta Tester

on line 168 of cupcakes.php you want to replace

<?php echo $row_rsCupcakes['IMAGE']; ?>

with

<img src="<?php echo $row_rsCupcakes['IMAGE']; ?>" alt="some alt text" />

you can do this via Insert->Image, and choose to select file name from data sources, where you add the field with the path to your image.

Ensure your alt text is meaningful, (it helps seo) and if your images are all in a folder, (such as images), then you may need to add the folder path to the beginning of the source string

Sign in to reply to this post

elewis93815

That fixed it Thanks!!!!!

Erick

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