Feature Request. - Compression % for GD to use.

Phoca Gallery - image gallery extension
Nigel_Aves
Phoca Member
Phoca Member
Posts: 15
Joined: 11 Dec 2008, 18:17

Feature Request. - Compression % for GD to use.

Post by Nigel_Aves »

It would be very hands to have settings to allow the compression level that GD uses.

One for the thumbnail and one for the "main" picture.

Nigel.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Feature Request. - Compression % for GD to use.

Post by Jan »

Hi, Phoca Gallery doesn't manipulate with original images, there can be a lot of ways how to upload original images into the gallery, so Phoca Gallery doesn't do anything with images which were uploaded e.g. via media manager or ftp... It uses these files for e.g. recreating thumbnails, rotating, download links, .... so original images may not be compressed I think... If you use jpg, the copression is set to 85%, you can change it in phoca gallery helper file...

Jan
If you find Phoca extensions useful, please support the project
Nigel_Aves
Phoca Member
Phoca Member
Posts: 15
Joined: 11 Dec 2008, 18:17

Re: Feature Request. - Compression % for GD to use.

Post by Nigel_Aves »

Jan,

Didn't mean the original, only the re-sized and thumbnail. your statement "the copression is set to 85%, you can change it in phoca gallery helper file" - gives me what I need. Might still be worth letting users set this in the interface.

Nigel.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Feature Request. - Compression % for GD to use.

Post by Jan »

Added into a feature request list - parameter for jpg compression quality...

Jan
If you find Phoca extensions useful, please support the project
Post Reply