Jump to content

Where to set the compression level for GD Library???


Recommended Posts

Hi,

First of all let me say that i am very impressed by prestashop. I've been using oscommerce for a few years now but after playing around with Prestashop i decided to make the switch.

Currently i am working on my first Prestashop project for a client who sells juwelry. The product image quality is very poor ( take a look here My question is where to set the compression level for jpeg (product)images


I save the images in photoshop with 100% quality but gd compresses the file, resulting in poor image quality...

Thanks,
Sacha

Link to comment
Share on other sites

  • 1 year later...

Make sure that the images aren't being resized by the browser. The compression rates are in images.inc.php in the root directory of PrestaShop. The compression rate is 86% by default on line 40 and 90% by default on line 238 (in PrestaShop v1.3.1).

Link to comment
Share on other sites

  • 4 weeks later...
  • 3 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...