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

rating

Thumbnail Storing & Displaying

Thread began 5/27/2011 5:05 am by cherry8723424721 | Last modified 5/27/2011 2:33 pm by Jason Byrnes | 1518 views | 9 replies |

cherry8723424721

Thumbnail Storing & Displaying

Jason:

With DW5 and Universal Email I'm resizing and storing Thumbnail image files well. However, UE is not storing any reference to those Thumbnails in the DB. If there's no reference in the DB I cannot display the Thumbnails along with their corresponding rest of the data.

How do I go about displaying those stored Thumbnails? Any suggestions? Thanks.

Sign in to reply to this post

iansheldon422428

Hi,

When you add an upload and resize behaviour to a form it creates a number of bindings for the file upload.

If you use the resize feature of the upload behaviour then it creates additional bindings for the newly created file.

What you need to do is have a field in your database table that stores the filename of the resized file and when using the insert behaviour select the "ServerFileName" binding for the resized file.

Hope that helps?

Cheers
Ian

Sign in to reply to this post

Jason ByrnesWebAssist

to add to what Ian is saying, you need to use Data Assist insert record behavior to store the file names.

In the data assist insert record behavior, select the database column that you will use for storing the file name, click the lightning bolt icon and select the server file name binding from the bindings panel.

Sign in to reply to this post

cherry8723424721

Hi:

Please check out the attached ScreenShot. Is this what you mean? This is not giving me the option to enter the DB column name.

Please note that the difficulty is with Thumbnails. I don't have any problem storing and displaying regular image files.

Thank you.

Sign in to reply to this post

Jason ByrnesWebAssist

Scroll down that list further and you will see another binding for server file name prefixed with "File Filed Name (\Thumbs)"

Sign in to reply to this post

cherry8723424721

Jason:

Please check this other ScreenShot. Wouldn't this be what you mean?

Sign in to reply to this post

Jason ByrnesWebAssist

No, your highlighting the same item in that screen shot as in the first screen shot

Scroll down that list further and you will see another binding for server file name prefixed with "File Filed Name (\Thumbs)"

Sign in to reply to this post

cherry8723424721

Jason:

Ok. I think I got it. Please check out this other Screenshot. The Lightening Bolt doesn't show in the shot, but it's to the left of the highlighted line.

Please let me know.

Sign in to reply to this post

cherry8723424721

Jason:

No problem. I entered a new profile and double checked it. The Thumbnail reference is stored in the DB. Great.

Now it's just a matter of displaying those. I guess I'll just use the same extension I use for displaying the regular photos, which is working well.

Many thanks to you and to Ian as well.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post
loading

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