Forums

[Plugin: NextGEN Gallery] Thumbnail generation not working (Error : Exceed Memory limit. Require...) (2 posts)

  1. bcnblogger
    Member
    Posted 2 years ago #

    Hi there,

    I get following message:
    img.png (Error : Exceed Memory limit. Require : 80.13 MByte)
    File will beuploaded but no thumbnail is being generated.
    Code line adaptions like suggested by several bloggers didn't work.
    (from: http://www.visser.com.au/blog/thumbnail-generation-php-memory-limit-nextgen-gallery/
    ADAPTION: 1. Open an FTP connection to your root WordPress directory
    2. Open /wp-content/plugins/nextgen-gallery/lib/gd.thumbnail.inc.php with your favourite text editor (e.g. UltraEdit, etc.)
    3. On line #168 un-comment (remove the //) from before @ini_set('memory_limit', '128M');
    4. Save and upload changes
    5. Delete image/s that failed to generate a thumbnail and re-upload using NextGEN Gallery’s standard Upload Images feature
    )

    After these modifications I get:
    Fatal error: Out of memory (allocated 74186752) (tried to allocate 17044 bytes) in /www/htdocs/user/v3.1/wp-content/plugins/nextgen-gallery/lib/gd.thumbnail.inc.php on line 179

    Even adding "php_value memory_limit 256M" to my .htaccess doesn't work. Could anyone help me, please?

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. J0SH44
    Member
    Posted 2 years ago #

    Try to re-upload the image in a smaller resolution. I know that I used to get the same/similar error and once I started uploading images with a smaller resolution it seemed to work fine.
    Maybe you need a higher resolution, which is fine. What I have found is that if i upload the images in a low resolution, let nextgen create the thumbs and then overwrite the pics (using FTP) with the higher resolution pics (keeping the same name obviously) everything works as well. I only do that when i really want a highres pic; otherwise, i just upload my pics with a max width of 1024 (and let the height scale accordingly) which is plenty big for my needs.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.