OK, wouldnt it be nice if the image you selected appeared in the image_path in the thumbnails table? Its a pain to add products, export CSV and change the image path filename to
WHAT YOU SELECTED IN PRODUCT THUMBNAIL TO START WITH !!
Having said that, the actual machinery for creating the "t_productID.jpg" is awfully convoluted.
xcart pieces together the $image_path from $image_path, $type ("T"), and $productid in images_location.php, image_selection.php and product_modify.php
images_location.php:
Code:
case "T":
db_query("UPDATE $sql_tbl[thumbnails] SET image_path='".addslashes($file)."', image='' WHERE productid='$v[productid]'");
break;
Can some coding guru out there find out exactly where each bit assigned, so one could change the "T_" bit to "" and the "$image" to what was actually selected from the browse images popup instead of "productid" ?
Perhaps this should be in the logic forum
vixnfox