WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
[resolved] Change Album/Gallery Preview Image Size (7 posts)

  1. iDesignCo
    Member
    Posted 6 months ago #

    I've modified the plugin in the past, and finally updated to the new release/build. I've managed to get everything back the way it was, except the album/gallery preview images.

    I have thumbnails set to 250x285, which I've used before and it worked, but now the preview images are still being generated at 91x68. So my code is still displaying the 91x68 images, but stretched to 250x285. Which looks awful.

    In the past they were the same size as the thumbnails, however now they seem fixed at 91x68. I've looked for a place to change this and have yet to find it.

    Also, while I'm here, I've used $gallery->counter in the past to be able to determine if it is an album or a gallery, and have different information show if the album is filled with albums or galleries (view album vs view gallery). That is no longer working. Is there a way to get counter working again, or another way to determine (in the template) if it's an album or a gallery that is being listed?

    Thanks! Any ideas?

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

  2. iDesignCo
    Member
    Posted 6 months ago #

    Hi,

    Just wondering if anyone saw this and has any ideas.

    Thanks.

  3. Seahawksean
    Member
    Posted 5 months ago #

    iDesignCo,

    Just want to be sure you double checked that your NextGen Gallery thumbnails setting are correct after uploading the newest version.

    If so, and the settings are as they were before, then I would access your image files via your FTP client. All of your NextGen Gallery images should be in wp-content/gallery/. Make sure that the original thumbnail sizes 250x285 are still there.

    From what you said, I would suspect that for some reason they are no longer there and that is why nextgen is pulling the smaller 91x68 sized images for you gallery thumbnails.

    Hope this at least helps you get on track to fixing your issue.

  4. iDesignCo
    Member
    Posted 5 months ago #

    Hi Seahawksean,

    Thanks for your help. The thumbnail settings are correct. The galleries display with the proper thumbnails, but on the album page, the "gallery thumbnail" is grabbing the dynamic file and not the thumbnail file for the image select. And the dynamic file is 91x68 and I haven't found a place to change that setting yet.

    Any ideas where it is getting 91x68 from, and if there is a spot to change it?

    Thanks.

  5. iDesignCo
    Member
    Posted 5 months ago #

    Okay. After spending some time searching the internet and playing around with files inside of nextgen, I found what I needed to change.

    That size (91x68) is hardcoded into wp-content/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_album/adapter.nextgen_basic_album_controller.php
    When I change the size there, it all works fine. I feel like that'd be a good thing to have as a changeable option. The 91x68 is for legacy templates, but I had used my own customized templates back then, which used the thumbnail size of 250x285, not the default 91x68.

    Thanks!

  6. adambundy
    Member
    Posted 3 months ago #

    Does Photocrati have intentions of making gallery thumb size something you can configure via options or are we stuck with editing the plugin code every update if we want something other than 91x68? Is this an option you get with the paid version?

    Thanks!

  7. adambundy
    Member
    Posted 3 months ago #

    Just worked this out. There are 2 ways to solve this, but thanks to a tweet response from @nextgengallery, I discovered that upon configuring the album display, if you select 'override thumbnail settings', you're then allowed to specify height and width of thumbs. Thanks!

Reply

You must log in to post.

About this Plugin

About this Topic