roban Posted August 12, 2005 Share Posted August 12, 2005 When I upload a product image and save, I get the following error: Warning: imagecreatetruecolor(): Invalid image dimensions in /home/vitaminl/public_html/cart/classes/gd.inc.php on line 138 Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/vitaminl/public_html/cart/classes/gd.inc.php on line 151 Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/vitaminl/public_html/cart/classes/gd.inc.php on line 162 The image uploads and is ok in view product but there is no thumbnail in search results GD is set to 2 exactly same config as I had in 3.01. Any thoughts? Quote Link to comment Share on other sites More sharing options...
Guest Posted August 12, 2005 Share Posted August 12, 2005 Hi, I'm getting exactly the same problem now that I've loaded 3.0.2. I hope this problem can be fixed quickly as currently I can't get any thumbnails to show for new products. Mark. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted August 12, 2005 Share Posted August 12, 2005 Grrr... No idea how that got broken. I'll fix it now.... In the mean time use the version of that file from 3.0.1 Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted August 12, 2005 Share Posted August 12, 2005 (edited) Replace classes/gd.inc.php with this: (Download archive updated 17:06 12 August '05)gd.inc.php Edited August 12, 2005 by brooky Quote Link to comment Share on other sites More sharing options...
Guest dog Posted August 12, 2005 Share Posted August 12, 2005 thanks brooky that file works a treat :unsure: Quote Link to comment Share on other sites More sharing options...
roban Posted August 12, 2005 Author Share Posted August 12, 2005 Nice recovery Brooky. NOW it's perfect. Quote Link to comment Share on other sites More sharing options...
Guest Posted August 12, 2005 Share Posted August 12, 2005 So did you update the download or do I need to merge that file still? Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted August 12, 2005 Share Posted August 12, 2005 I updated it about 30 mins after it was first added. The current download for 3.0.2 is fine. Quote Link to comment Share on other sites More sharing options...
Guest vrakas Posted August 13, 2005 Share Posted August 13, 2005 That is the best solution Brooky, update the download as we search, find and you fix I am going to re-download it now :D Quote Link to comment Share on other sites More sharing options...
Guest magyver Posted August 14, 2005 Share Posted August 14, 2005 Thanx, I came lookin for the fix. I thought it was just me. Thanx brooky. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.