original Posted August 23, 2010 Share Posted August 23, 2010 Hello,I am designing my images in Photoshop, after that I load them on my site, but their quality becomes poorer.Is Prestashop resizing them?How can I improve my images (I tried png, jpeg and giff and the situation doesn't change)?The resolution which I use is 72px/inch in RGB mode.Help me please.Thank you. Link to comment Share on other sites More sharing options...
rocky Posted August 24, 2010 Share Posted August 24, 2010 PrestaShop uses the imageResize function in images.inc.php to create JPG thumbnails no matter what format you upload images. Unfortunately, the GD library isn't as good as resizing JPGs in high quality as Photoshop. You can try increasing the quality of the JPEGs on lines 40 and 238 of images.inc.php (in PrestaShop v1.3.1): imagejpeg($newImage, _PS_TMP_IMG_DIR_.$cacheImage, 86); and: $flag = imagejpeg($ressource, $filename, 90); Try increasing 86 and 90 to 99. If that still isn't enough, you may be better off manually creating thumbnail images using Photoshop and overwriting the ones in the img/p directory using your FTP client. Link to comment Share on other sites More sharing options...
ImpulsoTecnologico Posted January 29, 2011 Share Posted January 29, 2011 Thanks, I have better quality images now. The problem is that I have a ton of images to re-upload, which is not too funny. Link to comment Share on other sites More sharing options...
rocky Posted January 30, 2011 Share Posted January 30, 2011 I don't think you need re-upload your images. Just regenerate your thumbnails on the Preferences > Images tab. Link to comment Share on other sites More sharing options...
vero20 Posted June 26, 2012 Share Posted June 26, 2012 What should I do if I'm working with PS 1.4? Link to comment Share on other sites More sharing options...
viktor123 Posted April 8, 2014 Share Posted April 8, 2014 Hi, I face the same problem with PS 1.5.6 and lose quality on uploaded images. I tried the option with increasing the values in Preference->Images, but still no result. Link to comment Share on other sites More sharing options...
owlwe Posted June 4, 2014 Share Posted June 4, 2014 my image colour from orange changes to brown...my jpg quality i put until 99 still not working ;( you guys have any ideal Link to comment Share on other sites More sharing options...
BaikalShaman Posted July 27, 2014 Share Posted July 27, 2014 Well, as I see this problem with image quality is as old as Prestashop itself, and since Preastashop was created nothing changed... I use Prestashop 1.6.0.6, and poor quality is noticeable even if I set maximum quality in back office. Please, if there is anybody who knows how to imrove quality, help. There's so many images in my shop that that's almost impossible to change them manually by ftp... I hope there is some solution for this problem. Link to comment Share on other sites More sharing options...
vekia Posted July 27, 2014 Share Posted July 27, 2014 Well, as I see this problem with image quality is as old as Prestashop itself, and since Preastashop was created nothing changed... I use Prestashop 1.6.0.6, and poor quality is noticeable even if I set maximum quality in back office. Please, if there is anybody who knows how to imrove quality, help. There's so many images in my shop that that's almost impossible to change them manually by ftp... I hope there is some solution for this problem. perhaps it's somehow related to host restrictions? it's worth to check it, because for me , prestashop generates images well with nice quality... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now