WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: NextGEN Gallery] Images not resized (4 posts)

  1. julian1976
    Member
    Posted 6 years ago #

    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 = 800x600
    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 (1600x1200) 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

  2. niksy
    Member
    Posted 6 years ago #

    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.

  3. RamiroS
    Member
    Posted 6 years ago #

    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. :D

  4. niksy
    Member
    Posted 5 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.