Image size increasing on upload

Phoca Gallery - image gallery extension
hopekiah
Phoca Member
Phoca Member
Posts: 38
Joined: 05 Apr 2010, 19:19
Location: Santa Fe, NM
Contact:

Image size increasing on upload

Post by hopekiah »

Greetings,
I'm in development with this site which uses phoca gallery extensively:
http://66.147.244.165/~burnini2/index.p ... Itemid=80#
That particular page is an example of my issue. My client gave me jpgs with the exact compression level he wanted.

I see that the "JPEG Quality" setting in the Thumbnail Creation Settings effects both the thumbnail and the large image, so I tried setting it to 100%. After changing that setting I uploaded a jpg of 205 px. Once it was integrated into Phoca Gallery the size became 275 kb and the quality still didn't wasn't as clear as the original 205 px jpg. So I tried a png file which I uploaded at 165 px and Phoca gallery made it over 400 k. It looked perfect but it's too many k. Any suggestions?

thanks,
Hope
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Image size increasing on upload

Post by Jan »

Hi,

you can set the quality of jpg in parameters.

Regarding the quality. All thumbnails are made by GD library on your server, so I think, this is then the issue to check your server - php and GD library :-(

Jan
If you find Phoca extensions useful, please support the project
hopekiah
Phoca Member
Phoca Member
Posts: 38
Joined: 05 Apr 2010, 19:19
Location: Santa Fe, NM
Contact:

Re: Image size increasing on upload

Post by hopekiah »

Okay. Thanks Jan.

I just figured out a workaround. If images show up too compressed, I can rename and upload the originals to the THUMBS folder. Seems to work. CAn you think of a problem with that?

thanks,
Hope
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Image size increasing on upload

Post by Jan »

Hi, no problems there, it does not matter who or what did create the thumbnails, important is the path and that it is an image.

Jan
If you find Phoca extensions useful, please support the project
hopekiah
Phoca Member
Phoca Member
Posts: 38
Joined: 05 Apr 2010, 19:19
Location: Santa Fe, NM
Contact:

Re: Image size increasing on upload

Post by hopekiah »

Okay. This works great. Thanks Jan.
Have a wonderful weekend.
-Hope
Dimi2012
Phoca Member
Phoca Member
Posts: 11
Joined: 28 Jan 2012, 01:09

Re: Image size increasing on upload

Post by Dimi2012 »

Has anything changed in 3.2.1? I mean, it's fine if you have to re-upload 20 - 30 images but what if you're doing 100s at a time. It'd be nice if it could take the original image, properly sized, and then simply use that as the master image without having to re-compress it. That's where the issue is.

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

Re: Image size increasing on upload

Post by Jan »

Hi, search this forum, I have added there info why the large thumbnail is important (there are at least 5 reasons for this - many time described in this forum)

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