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

Images are not uploading

Thread began 2/02/2015 3:34 pm by Paolo R | Last modified 2/02/2015 4:14 pm by Jason Byrnes | 211 views | 1 replies |

Paolo R

Images are not uploading

Hi Guys,

I am doing a simple upload images as part of a form, I've done it in a load of other places in the site but it won't work for some reason on this form.
I've done exactly the same process (that I am aware of) but no joy.

The form is submitting, and the database is being updated but the images are not uploading and it's leaving the database field blank.
Any idea why?

Attaching the file.

Paolo

Attached Files
homepage_feature.php
Sign in to reply to this post

Jason ByrnesWebAssist

2 issues:

1) The form encoding type needs to be set to multipart/form-data

in the DW tag selectcor, elect the form tag, then in the properties inspector, set the encoding type.

2) in the update behavior, you have bond the image fields to the file form elements.

on the bindings panel, there is a bindings group for the upload behavior. in the bindings group is a Server File Name binding you should use that binding instead of the file elements fro the form.

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