Support » Plugin: Photoswipe Masonry Gallery » Any trick to using multiple thumb sizes?

  • Hello, my understanding is this plugin uses one thumbnail size for the entire site. It automatically converts any and all native wordpress galleries to display the size set in /wp-admin/options-general.php?page=photoswipe-masonry.php

    But what if I want to have some galleries display larger thumbs? For example, I would like a new content type that displays images large, like on this page:

    I need to add the images as an image gallery – not single images – because I want user to be able to click through them in the lightbox. If I add as single images, user has t to close each image in lightbox separately and click to open the next image in the lightbox.

    So is this plugin is a one-size-fits-all solution sitewide and there’s no way around it?

    Is there any trick to display galleries with different thumb sizes depending on content type?

    • This topic was modified 3 years, 5 months ago by Ali.T..
Viewing 2 replies - 1 through 2 (of 2 total)
  • Sorry, I’m not sure of a good solution for this. You probably need a custom development solution for your theme.

    I maybe have a way, put your gallery within a div ID.
    If you are only using the admin with a theme, use code view to add <div id=”gallery-one”>xxxxgallerycodeherexxxx</div>
    Then in your css use the code I gave you here
    but change to:`
    #gallery-one .psgal figure { xxxxx }
    #gallery-two .psgal figure { xxxxx }`
    You can then change it per gallery just the same as you can per screen with media queries.
    I haven’t tested this but I’m pretty sure it’ll work

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Any trick to using multiple thumb sizes?’ is closed to new replies.