Page 1 of 1

Disable large thumb creation

Posted: 24 Oct 2008, 18:33
by bigwill
Hi,
i'm now using phoca on my web site. This script is really great but i found a small problem with large thumbs. In fact, i saw a loss of quality with large thumbs, so i hacked the script to make it use the pictures i upload. But large thumbs are still created and i don't need it.
So i would like to know if it was possible to disable large thumb creation and where i had to hack the script.
Thanks,
Will

Re: Disable large thumb creation

Posted: 25 Oct 2008, 15:20
by Jan
Hi, no, the whole system works with 3 thumbnails:

- small
- medium
- large

there are so many place wher you should change the code because of changing large to original so I don't know them :-(

If you create jpg, you can change the quality of thumbnails here:

administrator\components\com_phocagallery\helpers\phocagallery.php

find the following code:
ImageJPEG($image2, $file_out, 85)
and set it to
ImageJPEG($image2, $file_out, 100)

Jan

Re: Disable large thumb creation

Posted: 30 Oct 2008, 10:38
by bigwill
Thank you Jan

Re: Disable large thumb creation

Posted: 30 Oct 2008, 23:16
by Jan
:wink: