WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. bonometric
    Member
    Posted 5 years ago #

    Hi,

    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!

    Regards,
    Orry

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.