Page 1 of 1

Which php module does thumbnails?

Posted: Tue Oct 06, 2009 5:50 pm
by Don Chambers
I had to switch servers on one of my s9y sites.... reduced sized thumbnails are not being generated.... they are the same size as the originals. I am not using imagemagic.

Which php module is that? gdlib?

Re: Which php module does thumbnails?

Posted: Tue Oct 06, 2009 8:55 pm
by kleinerChemiker
yes, normally gd2 (libgd)

Re: Which php module does thumbnails?

Posted: Tue Oct 06, 2009 11:35 pm
by Don Chambers
Yeah, that was it. Then I went through a "rebuild thumbs" .... selected the option to only rebuild thumbs which were the wrong size. There were only a few of them. I certainly did not expect the following error:
Synchronizing the database with the image folder

Skipping file: .empty not readable.
Found new/modified file: SiteGraphics/tempads/Hines.jpg.
Found new/modified file: SiteGraphics/tempads/hines.jpg.
Done (Synchronized 2 images).

Resizing


Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 12288 bytes) in /home/heraldga/public_html/include/functions_images.inc.php on line 1307
Am I to believe this install of s9y is using 33.5 Mb or server RAM????!!

Re: Which php module does thumbnails?

Posted: Wed Oct 07, 2009 8:22 am
by kleinerChemiker
RAM
you can config the maximum allowed memory in your php.ini or sometimes in your .htaccess

Re: Which php module does thumbnails?

Posted: Wed Oct 07, 2009 10:22 am
by garvinhicking
Hi!

When s9y needs to resize images, they need to be loaded into RAM. A 100kb JPEG can easily take up to 20MB of RAM when uncompressed!

Regards,
Garvin