• Resolved bkpr

    (@bkpr)


    Hello! Just noticed today that my masonry galleries are defaulting to 2 columns, with the column shortcode not affecting the display. Not sure what’s happening. It’s as if there’s a max-width being applied to the page. The short code I have is:

    [gallery type='flickr' layout='masonry' view='photos' photoset_id='72157668826005657' columns='3' sort='date-taken-asc' caption='desc' thumb_size='n' main_size='h' ]

    The page in question (but it’s happening to all others) is: https://bartkowalski.com/2018/07/gallery-ecuador-south-america/

    I’ve updated all my plugins, but have since disabled one by one without any change. I have not updated my theme.

    Thanks for any advice!

    (ps, should the number of columns shortcode affect the display of “random” layout? Or does this always default to 2 images max per row?)

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter bkpr

    (@bkpr)

    Picking through the element code, I can see style=" column-count: 2;" despite the shortcode saying 3. Also, .post-contents has a max-width of 665px while looking at a full width browser window. Assume that’s a WP theme issue not a Photonic issue?

    Plugin Author Sayontan Sinha

    (@sayontan)

    There is a “trigger width”, defined under Photonic → Settings → Generic Options → Layouts → Masonry Layout – Minimum Column Width to prevent your images from getting too tiny to see. This is mainly to support responsive design, wherein it will obey the columns count if your overall page width doesn’t get too narrow (see the writeup here). If you reduce the width defined in the setting you can get more columns – you have the minimum width for a photo currently set to 230px, and your theme says that the overall content cannot exceed 665px, so Photonic determines that it can fit a maximum of 2 images (230 * 2 = 460, 230 * 3 = 690).

    Thread Starter bkpr

    (@bkpr)

    Thanks very much for your super quick response!
    That seemed to work, cheers.

    • This reply was modified 6 years, 3 months ago by bkpr.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Flickr thumbnails, always at 2 columns, “column” setting doesn’t affect result’ is closed to new replies.