thibaud-rohmer / PhotoShow

A free web gallery in PHP with drag-n-drop support
http://www.photoshow-gallery.com
506 stars 151 forks source link

Change JPG Compression #291

Open csar56 opened 9 years ago

csar56 commented 9 years ago

How about an option to change Image resolution and compression?

ltguillaume commented 9 years ago

This is partly possible by adding the following lines into config.php:

$config->quality_small = 90; // for the bigger views (1200px)
$config->quality_mini = 90; // for thumbnails

90 is the default compression value.

However, the big view size is hardcoded everywhere to 1200 now, so it would be great to see that as a variable to be set in config.php, too.