close ad
 
Important WebAssist Announcement
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 8:38 am by rikaG_510 | Last modified 7/31/2012 11:32 am by rikaG_510 | 1849 views | 5 replies

rikaG_510

Populating thumbnail filename to database

Hello,

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)
FileType
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;
FileName:802_image_14.jpg
Height:-1
Width:-1
FileType:
FileSize:-1
Title:butters01
Description:test
PhotoType:Crew (only) photo
BoatSize:No
boatBoatDesign:No
boatConstruction:No
boatCountryOfPhoto:United States
CountryOfCrew:United States
Regatta:No regatta
RiggerType:No
boatYear:2010
CreatedDate:2012-07-26
CreatedTime:17:40:06
CreatedBy:Rika/Rika
Thumbs:

Thank you for your help in advance!

Rika

Attached Files
code_thumbsup.txt

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