WordPress.org

Support

Support » Plugins and Hacks » [Plugin: NextGEN Gallery] Images not resized

[Plugin: NextGEN Gallery] Images not resized

  • Hello,
    i just install next-gen gallery, very nice plug-in thanks a lot.
    I fact i use for the moment no effect, and i put in the option resize = 800×600
    When i create new gallery, adding picture and create album everythings ok, but when i click in a thumbnail in my web site, it open picture in full size (1600×1200) and not the resize one. So it’s very long

    Can someone help me to understand what the mater with resize option.

    Thanks a lot

Viewing 3 replies - 1 through 3 (of 3 total)
  • It’s working that way in NextGEN Gallery, and I would like to see the option for automatic resize on upload. This would be a life-saver.

    Thanks in advance.

    Here is a quick fix for that.

    Editing the /wp-content/plugins/nextgen-gallery/admin/wp25/functions.php

    Search for the function upload_images()

    Scroll down after the end of the loop and check for this code:

    //create thumbnails
    nggAdmin::generatethumbnail(WINABSPATH.$gallerypath,$imageslist);

    BEFORE THAT add this:

    //create resized pictures
    nggAdmin::resizeImages(WINABSPATH.$gallerypath,$imageslist);

    That should do the work. 😀

    Yes, that’s it, thank you very much!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: NextGEN Gallery] Images not resized’ is closed to new replies.
Skip to toolbar