Support » Plugin: WordPress Gallery Plugin - NextGEN Gallery » [Plugin: NextGEN Gallery] JPG Thumbnail Editing in 5.4 apache

  • Hello,

    Passing this on – so that the next person wont have to hunt for the solution. (Side Note: WP.org, please allow searching within each plugin support area. Your search function is so weak. And near impossible to find solutions that others have sought and found)

    OK so you have your images up and you want to go edit the thumbnail. Gif thumbs no problem, but when you try to edit the thumb of a jpg image the image display in the left area does not show the image to grab the new thumbnail area.

    This does not occur in Apache 5.2x nor 5.3x but in 5.4 this is when it occurs. Not all servers are at 5.4 yet, so this may only effect a few people right now.

    Anyway – here is the very simple solution.

    Find this file in the nextgen-gallery folder
    gd.thumbnail.inc.php

    here for WAMP
    ..\wp-content\plugins\nextgen-gallery\lib\gd.thumbnail.inc.php

    here for server live
    ../wp-content/plugins/nextgen-gallery/lib/gd.thumbnail.inc.php

    Make a copy of the file so you always have a backup 🙂

    GoTo about line 602

    Change this:

    header('Content-type: image/jpeg');
    ImageJpeg($this->newImage,'',$quality);

    To this:

    header('Content-type: image/jpeg');
    ImageJpeg($this->newImage,null,$quality);

    Your only replacing '' to become the unquoted word: null

    Save
    And refresh your thumbnail edit page and you will now see and be able to create a new thumbnails for your jpg images.

    My portfolio will have about 2000 images when it goes live so this was a needed fix for me to get right. Hope i help the next person.

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

Viewing 1 replies (of 1 total)
  • Oh…I’ve been searching for hours for the answer to this. THANK YOU, THANK YOU, THANK YOU!

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: NextGEN Gallery] JPG Thumbnail Editing in 5.4 apache’ is closed to new replies.