close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Multiple Image uploads

Thread began 8/23/2012 4:01 pm by john70964 | Last modified 8/24/2012 12:17 pm by Jason Byrnes | 650 views | 3 replies |

john70964

Multiple Image uploads

In data assist want to allow people to upload up to 6 images and to insert the image names into an sql table.

(I believe that the File Upload does not allow this and is limited to one image upload per page).

Is the any way of carrying this out with Web assist software?

Thank you

John

Sign in to reply to this post

Jason ByrnesWebAssist

add 6 file fields to the page. Add 6 file upload behaviors.


you will need to have 6 columns in the table to store the file names.
in the insert record behavior, bind each column to the server file name variable from the appropriate Uploaded File binding group.

Sign in to reply to this post

john70964

Many thanks Jason

I have the idea now and its working with several images.

I have a small question explained on the attached image perhaps you can give me a pointer please.

Sign in to reply to this post

Jason ByrnesWebAssist

The 9 in the image you post is the name of the file field for that binding group, each file upload behavior will have it's own binding group with the file field name in parenthesis.

in the image uplaod, you have set it to create 2 copies of the image, one using the [FileName] for the name, the other using [FileName]_thumb for the name.

the [fileName] binding is for the large image, the [FileName]_thumb binding is for the resized image you are createing

Sign in to reply to this post

john70964

Hell0
I am still struggling to know which Item to select from
Data Assist
Insert Single Record
Bindings
to connect to an image.

As you can see in the attached images
I have various _thumb (Numbers) Server File Name to which I can connect These also change if the page or DW is closed and reopened.

E.G.
In the image1 I can see
_thumb (10): Server File Name
_thumb (11): Server File Name

In the image2
_thumb (11): Server File Name
_thumb (12): Server File Name


Can you say how I decide which Item should be used in the Insert Single Records SB for a given record

I hope I have explained this item well enough!

Thank you

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

john70964

Thanks Jason
I have now seen the light and managed to work this out.

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