The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[Plugin: NextGEN Gallery] Imagemagick option results in cropped big thumbnails (1 post)

  1. bonometric
    Posted 7 years ago #


    This is a great plugin, and I love it. I have a problem, moving to a different host I got smallish PHP memory allocation (just 32 mb) which prevents me from uploading (or rather thumbnailing) 1024x768 sized images. I tried using the ImageMagick option for bigger size uploads but got a different problem. The thumbnail creation works fine with no error but the resulting thumbnails are simply a crop of the original image to the specified thumbnail size. I tried to futz around with the source code (imagemagick.inc.php) and found the following:

    - the imagemagick resize function actually works, in my attempt I put a hard value of 30x20 into the resize() function in the php file
    - apparently after the resize, the thumbnail got fed thru another resize that scaled it to the original image size
    - then the resulting image is cropped to the thumbnail dimension specified

    I am aware of the "experimental" status of using imagemagick in the plugin, but it would be great if anyone can share anything on this here.

    Again, great plugin!


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.