close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Data Assist and File Manipulation

Thread began 2/12/2012 10:48 am by toni272059 | Last modified 2/13/2012 7:48 am by Jason Byrnes | 929 views | 2 replies |

toni272059

Data Assist and File Manipulation

I had Data Assist with File Manipulation successfully adding three images sizes to image folder and database table using Insert and Update pages.

Now for some reason the 3 file sizes are being created and uploaded to the image folder and the main image file name added to the database but the thumbnail and large image file names are not being added to the database. I been thru the tutorial but cannot locate or remember how to bind the _thumb and _large image file names to the Data Assist Insert Record server behaviour

Current link for ProductImageLarge [FileName]_large
<?php echo $WA_DFP_UploadStatus["WA_UploadResult1"]["WA_UploadResult1_3"][""]; ?>
Current link for ProductThumb [FileName]_thumb
<?php echo $WA_DFP_UploadStatus["WA_UploadResult1"]["WA_UploadResult1_2"][""]; ?>
Current link for ProductImage [FileName]_small this is the default
<?php echo $WA_DFP_UploadStatus["WA_UploadResult1"]["WA_UploadResult1_1"]["serverFileName"]; ?>

Screen grab attached

When I check the database the default ProductImage is uploading correctly but the thumb and large image fields are being populated with another image and file name altogether.

See database screen grab -- Product ID 35 and Product ID 1

Everything was working fine until I added another row to the Insert table for Color Options. Which works fine!

What am I doing wrong? I have spent hours trying to find a solution!

Sign in to reply to this post

toni272059

Of course as soon as I submit my support request I try something else and it appears to be working!

I thought I had already tried
large
<?php echo $WA_DFP_UploadStatus["WA_UploadResult1"]["WA_UploadResult1_3"]["serverFileName"]; ?>
thumb
<?php echo $WA_DFP_UploadStatus["WA_UploadResult1"]["WA_UploadResult1_2"]["serverFileName"]; ?>
default
<?php echo $WA_DFP_UploadStatus["WA_UploadResult1"]["serverFileName"]; ?>

Fingers crossed problem solved....

Sign in to reply to this post

Jason ByrnesWebAssist

glad to hear you have this working.

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