close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

upload images

Thread began 10/06/2017 8:23 am by BjB | Last modified 10/10/2017 10:48 am by Ray Borduin | 1395 views | 5 replies |

BjB

upload images

I am trying to create a simple form to upload an image. How do I accomplish this? File Manager, File? There is no image upload field type.

Sign in to reply to this post

Ray BorduinWebAssist

A field type "file" will upload a file... it is a standard html element not something from webassist.

The WebAssist Server Behavior for uploading a file will allow you to take the uploaded file, verify it is an image, and resize it and save it to a directory of your choice.

Sign in to reply to this post
Did this help? Tips are appreciated...

BjB

I got it to upload an image, but it doesn't save the file name to the DB for later use. is that possible?

Sign in to reply to this post

Ray BorduinWebAssist

Yes. There is a reference to the "Server File Name" in the bindings you can use to save the image name in the database.

Sign in to reply to this post
Did this help? Tips are appreciated...

BjB

Ok, the image name is now being saved to the database, thanks for that. However, if i update the entry, I have to reupload the image file again or it deletes the file name in the database.
Also, I was reading the help section for the Upload Wizard and noticed that it says nothing about what the "Default file" field does. So what does the "Default file" field do?

Sign in to reply to this post

Ray BorduinWebAssist

The default file is the value to use when no file has been uploaded. If you set it to the existing column in the database it will keep that value if someone submits the form without specifying a new value.

Sign in to reply to this post
Did this help? Tips are appreciated...

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