[Plugin: NextGEN Gallery] GD uses lots of memory for high resolutions
-
Hi,
I’ve got a few pictures with relatively high resolutions of about 2500 x 2000. When I upload them through the GUI NGG can’t create thumbnails from them, I get the error “Memory Limit exceeded. Require: 38.14 MB”.
When I resize the picture to 2000 x 1500 before uploading I get the error “Fatal error: Out of memory (allocated 22282240) (tried to allocate 2000 bytes) in /home/www/wp-content/plugins/nextgen-gallery/lib/gd.thumbnail.inc.php on line 183”
Resolution 1500 x 1250: The same, only “allocate 6000 bytes”
The resolution 1280 x 960 works fine.
Is there a way around this problem other than increasing the memory limit? I thought 32 MB would be enough and actually thought NGG would take the work of manual resizing from my hands…
btw: The actual filesize has no effect on the error messages.
Furthermore, I set the NGG options to resize the images – do I have to start this manually or is there a way to get NGG to resize all uploaded images (which of course would first require the obove problem to be solved)?
Here is my server config:
Server- Einstellungen * Betriebssystem : Linux * Server : Apache/1.3.34 (Debian) PHP/5.2.6 * Speicherverbrauch : 14.4 MByte * MySQL Version : 5.0.45 * SQL Modus : Nicht gesetzt * PHP Version : 5.2.6 * PHP Safe Mode : Aus * PHP Allow URL fopen : An * PHP Memory Limit : 32M * PHP Max Upload Gr??e : 30M * PHP Max Post Gr??e : 30M * PHP Max Script Execute Time : 30s * PHP Exif Modul : Ja ( V1.4 ) * PHP IPTC Modul : Ja * PHP XML Modul : Ja Grafik Bibliothek * GD Version : bundled (2.0.34 compatible) * FreeType Support : Ja * FreeType Linkage : with freetype * T1Lib Support : Nein * GIF Read Support : Ja * GIF Create Support : Ja * JPG Support : Ja * PNG Support : Ja * WBMP Support : Ja * XPM Support : Ja * XBM Support : Ja * JIS-mapped Japanese Font Support : Nein
- The topic ‘[Plugin: NextGEN Gallery] GD uses lots of memory for high resolutions’ is closed to new replies.