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!