Page 1 of 1

Thumbnail Size

Posted: Thu Jul 26, 2007 1:03 pm
by Fila
Hello,
I just noticed the the thumbnails size is quite big. For example my image is 500x700 and is 60KB and when the script creates the thumbs with the with 150px the size is 36KB...anyway to make it smaller than that like 10KB or less.

Thanks
Fila

Re: Thumbnail Size

Posted: Thu Jul 26, 2007 1:19 pm
by garvinhicking
Hi!

Are you using gdlib or imagemagick? The compression quality can sadly only be adjusted within the core include/functions_images.inc.php file...

Regards,
Garvin

Re: Thumbnail Size

Posted: Fri Jul 27, 2007 1:56 am
by Fila
garvinhicking wrote:Hi!

Are you using gdlib or imagemagick? The compression quality can sadly only be adjusted within the core include/functions_images.inc.php file...

Regards,
Garvin
Thanks a lot Garvin.. i dont think i have imagemagick on my server :)

Re: Thumbnail Size

Posted: Fri Jul 27, 2007 9:57 am
by garvinhicking
Hi!

Check out the file include/functions_images.inc.php and search for "function serendipity_functions_gd".

There you find $func['qual'] on multiple places. It's set to 100 by default, you can alter that to 90 or 80 for smaller file sizes!

HTH,
Garvin

Posted: Sat Jul 28, 2007 2:18 am
by Fila
Hi garvin..Thanks a lot! My host did install imagemagick on the server. I entered the wrong path before..but its all good now. Imagemagick makes them very small.

Thanks again for help.
Fila