jonny72 Posted December 27, 2010 Share Posted December 27, 2010 Hi guys,Iam having trouble with importing a csv file, these are the errors i`am gettingWarning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/home/highdrum/public_html/tooldepartment.co.uk/img/tmp/ps_importg3620p' is not a valid JPEG file in /home/highdrum/public_html/tooldepartment.co.uk/images.inc.php on line 212Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/highdrum/public_html/tooldepartment.co.uk/images.inc.php on line 160help please ! Link to comment Share on other sites More sharing options...
jacky75 Posted December 28, 2010 Share Posted December 28, 2010 How are you writing URL/path to your images? Link to comment Share on other sites More sharing options...
jonny72 Posted December 28, 2010 Author Share Posted December 28, 2010 Hi,Thanks for your replyThe image path is ../imgimport/94354_120.jpg Link to comment Share on other sites More sharing options...
jacky75 Posted December 28, 2010 Share Posted December 28, 2010 Hi,Thanks for your replyThe image path is ../imgimport/94354_120.jpg In the CSV file you have to use the URLs to the images. e.g. http://myprestasite/myimportfolder/94354_120.jpgFor sure it's not necessary the images are stored within the Prestashop store. You can get them from everywhere. Link to comment Share on other sites More sharing options...
Recommended Posts