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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

No Photo showing in Product Details/Results, but there is the file path

Thread began 3/02/2010 12:54 am by epicjeff396579 | Last modified 3/05/2010 4:50 pm by Jason Byrnes | 1519 views | 17 replies |

epicjeff396579

No Photo showing in Product Details/Results, but there is the file path

I have the WAEL. I am attempting to ad an image upload in the insert products pages. I thought I followed the tutorials but I am not getting the images to show up on the details or results pages. Instead of the image, there is only text that shows up that is the folder path for the image. "/images/product_images" I also did have at one time the filename show up like "web_kit.jpg" by the form feild, but that was when I had the image uploading to the wrong directory... I checked and the upload page is uploading the image into the proper directory /images/product_images

Any ideas? I know its such a noob thing and I am sure its something simple I overlooked in the tutorial

Sign in to reply to this post

Jason ByrnesWebAssist

you have to dynamically populate the img src attribute from the recordset:

php:
<img  src="/images/product_images/<?php echo $row_RecordsetName['imageColumn']; ?> />
Sign in to reply to this post

epicjeff396579

Jason, here is a SS of the code, the page and the server behavoirs dialog open. I am a little noobish so I don't know what you are referring to....

Sign in to reply to this post

Jason ByrnesWebAssist

that code looks correct, are you sure the image file name is being stored in the database? can you double check?

If it is not being stored in the database, please send a copy of the insert page.

Sign in to reply to this post

epicjeff396579

it is uploading the images into the correct folder

Sign in to reply to this post

Jason ByrnesWebAssist

but is it saving the file name in the database? To be able to show the image on the results page, the file name must be stored in the database.

Sign in to reply to this post

epicjeff396579

it is uploading the images into the correct folder, but the database just has "/images/product_images" and not the full file name.

Sign in to reply to this post

Jason ByrnesWebAssist

from my previous reply:

  If it is not being stored in the database, please send a copy of the insert page.  
Sign in to reply to this post

epicjeff396579

ok attached it and had to zip it.

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

Jason ByrnesWebAssist

In the Insert Record server behavior, the ProductImage column is not properly bound to the server file name variable.

Double click the insert record server behavior. Select the ProductImage column and click the lightning bolt next to value. Expand The WA Uploaded File (File Field name) Collection and select the Server File Name variable.

Sign in to reply to this post
loading

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