Which php module does thumbnails?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Which php module does thumbnails?

Post 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?
=Don=
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Which php module does thumbnails?

Post 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????!!
=Don=
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Re: Which php module does thumbnails?

Post by kleinerChemiker »

RAM
you can config the maximum allowed memory in your php.ini or sometimes in your .htaccess
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Which php module does thumbnails?

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply