close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Populating thumbnail filename to database

Thread began 7/26/2012 11:38 am by rikaG_510 | Last modified 7/31/2012 2:32 pm by Jason Byrnes | 1192 views | 5 replies |


Populating thumbnail filename to database


I saw some threads that are similar to my situation, but still I couldn't figure this out...

I am using DataAssist and DigitalFilePro? UniversalEmail? whatever that has file upload function, to build a database and insert.php so I can just pick an image and an image with two sizes will be populated into database. Eventually I will use this database for a image gallery.

I managed to set up to insert/populate detail (big) image, but I must be doing something wrong with thumbnail images (file name) insert. Also I can not get several other elements posted right, which are (including thumbs);

Hight (of original image)
Width (of original image)
File size (of original image)
Thumbs (file name; i set it up as all the thumbnail images should have "_thumb" after filename on Insert Record (image) server behavior.
The MySQL database has fields in one table with all these names.

I copied the coding for these parts.

This is a result I get;
PhotoType:Crew (only) photo
boatCountryOfPhoto:United States
CountryOfCrew:United States
Regatta:No regatta

Thank you for your help in advance!


Attached Files
Sign in to reply to this post

Jason ByrnesWebAssist

Open the bindings panel, and expand the WA UPloaded Files (file Field Name) Binding group.

This binding group contains all the bindings for details about the uploaded image including server file name.

if you look carefully, you will see that the there is an initial group of bindings, then they repeat but preceded with the upload folder. The bindings preceded with "images/detail/" are information unique to the file created in the details folder.

the bindings preceded with "images/thumbs/" are unique to the file created in the thumbs directory.

to store the thumbnail name, use the server file name binding that is preceded with the images/thumbs/ folder name in the insert record behavior.

The image height and other setting should also be using the bindings from the WA UPloaded Files (file Field Name) Binding group

Sign in to reply to this post


Hi Jason,

Ok so I thought I already did what you suggested, but just in case, I recreated the whole DataAssist sets of pages and added UE's file update function, but still the same result.

My test page is here;

The result is always this;
FileName: YearbookYourself_1976.jpg
*Height: -1
*Width: -1
*FileSize: -1
Title: G10
Description: test
Photo Type: Boat IN RACE - medium to far distance
Alt: test
Boat Size: No boat
Boat Design: No boat
Construction: No boat
Country of Photo: Any country
Country of Crew: No crew
Regatta: No regatta
RiggerType: No boat
Year: 2010
Created Date: 2012-07-27
Created Time: 12:07:36
Created By: Rika/Rika

Where it has " * " are the problem I have. I don't know how to get descent response.

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of your page please.

Sign in to reply to this post


I did attached a copy of codes in the first post, but never mind.
Here is the copy of complete code of my image_insert.php.

Thank you for your help.


Attached Files
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:

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

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





Ease of use


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