pedro_alfaiate Posted May 8, 2007 Share Posted May 8, 2007 hello all, i'm from portugal, sorry about my english :) I've a little problem, I add a big list of products and I import it to Sql. but the image product is not saved in my server, not in the images folder. It saves in sql database the url of the image product, for example http://xpto/image.jpg. when i go to my shop the image is not showed, all I see is a red X, but I know why this happens, because the link that the image get is http:/mystore.com/images/http://xpto/image.jpg. all I ineed to know is where will I change the code to read the image exactly from http://xpto/image.jpg thanks all, and once again sorry about my bad english :) Link to comment Share on other sites More sharing options...
oschellas Posted May 8, 2007 Share Posted May 8, 2007 As I understood well your product images are hosted on an other location? Link to comment Share on other sites More sharing options...
sridhar Posted May 8, 2007 Share Posted May 8, 2007 Try to change extension .jpg to .JPG and check once. Link to comment Share on other sites More sharing options...
pedro_alfaiate Posted May 8, 2007 Author Share Posted May 8, 2007 As I understood well your product images are hosted on an other location? that's it, it's in another location. i think I have to change code in php, but don't know where. can anybody help me? Link to comment Share on other sites More sharing options...
oschellas Posted May 9, 2007 Share Posted May 9, 2007 I added to my includes/configure.php files (catalog/admin) the following extra line: define('DIR_WS_IMG_EXT', 'http://www.somedomain.com/images/'); In catalog/admin files where product images are called (like in product_info.php) I changed DIR_WS_IMAGES to DIR_WS_IMG_EXT Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.