Incorrect path in dB when images are uploaded
Hi,
I have created product pages with Data Bridge and they work great. One small glitch on admin/products_insert.php and admin/products_udate.php the I have two upload boxes one for ProductThumb and one for ProductImage respectively setup in the dB as _images/products_t/someimage_t.jpg and _images/products/someimage.jpg.
In the Shopping Cart this setup and everything is working fine, but if I try to go and insert or update product and I set the path to upload correctly the entry in the dB instated of being _images/products_t/someimage_t.jpg and _images/products/someimage.jpg. is just someimage_t.jpg and someimage.jpg which doesn’t display the images in the Shopping Cart and PrductDetails.
Here is the setup now:
<?php
// WA_UploadResult1 Params Start
$WA_UploadResult1_Params = array();
// WA_UploadResult1_1 Start
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
'UploadFolder' => "../_images/products_t",
'FileName' => "[FileName]",
'DefaultFileName' => "".($row_WADAproducts["ProductThumb"]) ."",
'ResizeType' => "0",
'ResizeWidth' => "0",
'ResizeHeight' => "0",
'ResizeFillColor' => "" );
// WA_UploadResult1_1 End
// WA_UploadResult1 Params End
?>
<?php
// WA_UploadResult2 Params Start
$WA_UploadResult2_Params = array();
// WA_UploadResult2_1 Start
$WA_UploadResult2_Params["WA_UploadResult2_1"] = array(
'UploadFolder' => "../_images/products",
'FileName' => "[FileName]",
'DefaultFileName' => "".($row_WADAproducts["ProductImage"]) ."",
'ResizeType' => "0",
'ResizeWidth' => "0",
'ResizeHeight' => "0",
'ResizeFillColor' => "" );
// WA_UploadResult2_1 End
// WA_UploadResult2 Params End
?>
Any help will be appreciate.
Kamen