close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Uploading Images (Admin Side)

Thread began 4/30/2010 6:52 am by ch1974us345597 | Last modified 5/11/2010 1:30 pm by Eric Mittman | 2070 views | 5 replies |

ch1974us345597

Uploading Images (Admin Side)

I'm developing a site using Data Assist and I hit a wall. I'm creating a catalog and I have a few questions.

I'm trying to upload images to the product profile, but I can't get the image to show. I tried using Universal Email (upload behavior) and also tried using the 'file field' and just keying in the image name......nothing. What's the best way to upload an image to a product profile? Also, if my site has a thumbnail image in the profile and the full size image in the "Product Detail" page do I need 2 separate upload fields in the "Insert Product" page?

Any help and/or suggestions would be greatly appreciated.

Thanks!
Craig

Sign in to reply to this post

Eric Mittman

Are you getting the file to successfully upload to the site? If so are you storing the details for the file name in the db?

If you are not getting the file uploaded you will need to expand the upload file bindings and add in the debug info to the page, then save the load the page to your server before testing. When you test it try to upload your file and check what the debug messages are saying.

If you are getting the file on the server and are storing the name in your db then you should be able to reference the image on any page that you have a recordset that retrieves info for that record from the table. To make the image show you would have an img tag and for the scr attribute you would set it to the path of your images folder, then user the binding from your recordset for the file name. This should get the image to show. Please post back with some additional details if you have any further trouble with this and include a copy of the upload page and the page you are trying to view the image on.

Sign in to reply to this post

ch1974us345597

The images are not being shown on the site. As for being displayed in mysql, do I need to type in the image name manually?? I'm creating this site for another person. I don't want to have them manually insert the image name in the db each time she uploads an image. Is this the only solution? I just want her to be able to insert a record that includes an image.

All the images are on the server. Let me manually key in the image name in the DB and see what will happen.

Thanks for your help.

Craig

Sign in to reply to this post

Eric Mittman

You do not need to manually type in the name of the image, in your DataAssist insert you should expand the Upload File bindings and for the file name use the lightning bolt icon to select the server file name from the upload bindings. This will automate the insert so that when a new image is uploaded a record will be inserted and the name of the just uploaded image will be inserted into the record.

When you want to view the image you just need to have a recordset that selects that record from your db, then put an image field on the page and set the source to the folder the image was uploaded to. For the file name within the src attribute of the img tag use the filename binding from your recordset.

Sign in to reply to this post

ch1974us345597

Uploading Images (Admin Side)

If I wanted to upload BOTH thumbnails and full size images into a product listing, do I only need 1 upload image field??? On the product insert page, I have an image upload field AND a thumbnail upload field.....do I only need one? The one upload field will cover both the thumbnails and images...correct???

Craig

Sign in to reply to this post

Eric Mittman

With the latest version of Digital File Pro that is within Universal Email you can have a single file field and set it up to upload the regular full size image and create a thumbnail at the same time.

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