sweet cricket stationery Posted January 12, 2010 Share Posted January 12, 2010 Hi all,New to prestashop but really loving it so far.One thing though - all of my site images (product, category, logo, EVERYTHING) look terrible. I am creating everything in photoshop and it looks fine there, but when I upload to Prestashop, the quality is so bad.Am I doing something wrong? How can I fix this? I need my images to be very sharp, and they are all fuzzy.You can see an example here:http://www.sweetcricketstationery.com/ (main image and logo look terrible)Tried searching the archives, to no avail. It seems others have this problem too, but i couldn't find a solution.Thanks for your insights and help.Kate Link to comment Share on other sites More sharing options...
Guest Posted January 12, 2010 Share Posted January 12, 2010 change image size from your back office Link to comment Share on other sites More sharing options...
tomerg3 Posted January 13, 2010 Share Posted January 13, 2010 in /images.inc.php line #40 imagejpeg($newImage, _PS_TMP_IMG_DIR_.$cacheImage, 86); You can increase the quality of the images by using a number higher than 86.You will need to rebuild your images after make the change.... Link to comment Share on other sites More sharing options...
sweet cricket stationery Posted January 13, 2010 Author Share Posted January 13, 2010 ok, I'll try these suggestions, thanks a ton for responding!Kate Link to comment Share on other sites More sharing options...
Cope Posted February 11, 2010 Share Posted February 11, 2010 Hi all.Just looked into the problem and found this: The images generated and saved by PrestaShop actually looks as expected when saving at compression 86. I downloaded the generated jpegs from the server and looked them over locally and were surprised to see the good quality.It now believe that it is in the showing of the images that something happens. Looking into it...Changed both line 40 and 236 to:40: imagejpeg($newImage, _PS_TMP_IMG_DIR_.$cacheImage, 94);236: $flag = imagejpeg($ressource, $filename, 94);...and got the quality I wanted. I think it is important that the image you upload to PrestaShop is itself not too jpeg compressed (close to quality=100).Hope this helps someone?PS. re-generate images after the change. Link to comment Share on other sites More sharing options...
Karens Posted February 24, 2010 Share Posted February 24, 2010 Tried editing image.php.inc - nothingTried changing various preferences - nothing Link to comment Share on other sites More sharing options...
tomerg3 Posted February 24, 2010 Share Posted February 24, 2010 Tried editing image.php.inc - nothingTried changing various preferences - nothing did you regenerate all the images after making the change in the image.php file? Link to comment Share on other sites More sharing options...
Karens Posted February 24, 2010 Share Posted February 24, 2010 absolutely i did. several times. Link to comment Share on other sites More sharing options...
emms Posted March 21, 2010 Share Posted March 21, 2010 I'm having the same problem.. lovely illutrator files just end up feathered and more aliased Link to comment Share on other sites More sharing options...
carla Posted September 11, 2010 Share Posted September 11, 2010 in /images.inc.php line #40imagejpeg($newImage, _PS_TMP_IMG_DIR_.$cacheImage, 86); You can increase the quality of the images by using a number higher than 86.You will need to rebuild your images after make the change.... Hi all,Can someone please tell me exactly which folder this line is in. I have been staring at code all night and am going cross eyed. I am having the same problem and wanted to try this. Thanks so much.Carla Link to comment Share on other sites More sharing options...
rocky Posted September 12, 2010 Share Posted September 12, 2010 It is in the root directory of PrestaShop. Link to comment Share on other sites More sharing options...
GrafficBox Posted September 14, 2010 Share Posted September 14, 2010 Same problem for me. Make changes, no result...Other ideas ? Link to comment Share on other sites More sharing options...
Saray Posted March 18, 2011 Share Posted March 18, 2011 Tried this but it didnt work for me the images are still almost blurry and bleached..Changed both line 40 and 236 to:40: imagejpeg($newImage, PS_TMP_IMG_DIR.$cacheImage, 94);236: $flag = imagejpeg($ressource, $filename, 94);…and got the quality I wanted. I think it is important that the image you upload to PrestaShop is itself not too jpeg compressed (close to quality=100).Hope this helps someone?PS. re-generate images after the change. Link to comment Share on other sites More sharing options...
Justus Posted March 18, 2011 Share Posted March 18, 2011 Are you working with the original template or did you change the dimensions of the pictures on your website? Link to comment Share on other sites More sharing options...
Saray Posted March 18, 2011 Share Posted March 18, 2011 No dimensions for the productimages was changedbut it has been solved now thanks anyway Link to comment Share on other sites More sharing options...
DenisDenis Posted April 11, 2011 Share Posted April 11, 2011 just installed 1.4 and having problems with the quality of the frontpage images. when you go into the categories everything is fine.I tried adjusting the above lines of code, but no luck. With 1.3 i didn't have this problem and i'm using the same pictures...You can view the site here:www.deepdevotion.be Link to comment Share on other sites More sharing options...
tomerg3 Posted April 11, 2011 Share Posted April 11, 2011 Did you regenerate the thumbnails after making the changes?Did you clear the browser cache? Link to comment Share on other sites More sharing options...
DenisDenis Posted April 12, 2011 Share Posted April 12, 2011 Did you regenerate the thumbnails after making the changes?Did you clear the browser cache? yeah, a couple of times Link to comment Share on other sites More sharing options...
Recommended Posts