| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
xcart_thumbnails ... image_path | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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:
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
__________________
V 4.3.1 Live: Developing on PHP 5.3.0 MySQL server 5.0.75-community-log MySQL client 5.1.36 Web server Apache/2.2.11 (Unix) mod_ssl/2.2.11 Windows 7 64bit on a Toshiba Satellite P500 ADELAIDE, SOUTH AUSTRALIA |
|||||||
#2
|
|||||||
|
|||||||
![]() If you import products via csv and upload the image to the server first, the image name sticks.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() So it does!!!
thanks balinor VixnFox
__________________
V 4.3.1 Live: Developing on PHP 5.3.0 MySQL server 5.0.75-community-log MySQL client 5.1.36 Web server Apache/2.2.11 (Unix) mod_ssl/2.2.11 Windows 7 64bit on a Toshiba Satellite P500 ADELAIDE, SOUTH AUSTRALIA |
|||||||
|
|||
X-Cart forums © 2001-2020
|