• Resolved Ellsinore

    (@ellsinore)


    Hi, David!

    I hope you can figure this out. I don’t even know where to start, but lumbered along and I think I only made it worse.

    For some reason, the thumbnails on this page aren’t rendering and some of the empty squares are WAY too long! If you click on the broken thumb, though, the proper image shows up.

    I recently moved this WP installation from a subdirectory to the main site and I wonder if I broke something that way. I did re-upload these images, but that didn’t help.

    Thoughts?

    Thanks!

    Edited to Add: This is the MLA code I’m using:

    [mla_gallery link=file size=thumbnail columns=3 mla_caption=”{+title+}”]

    • This topic was modified 5 days, 22 hours ago by Ellsinore. Reason: Add info

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Ellsinore

    (@ellsinore)

    Continuing to mess with this, seems it’s a problem with the WP installation and not the plugin, as single images attached to a post don’t render, either! I’ll keep digging. Thanks! 🙂

    Plugin Author David Lingren

    (@dglingren)

    Thanks for your report. I’ve had a look at the page you referenced and I don’t understand what’s causing the problem. The HTML for the gallery looks fine, and the thumbnail images are there. They render fine when accessed directly from the “src=” URL.

    The only thing I can think of is some sort of interference with the lightbox plugin you seem to be using. I will leave this topic open for now and hope to see an update with news of your progress.

    Thread Starter Ellsinore

    (@ellsinore)

    Hi, David!

    Thanks for having a look. I did find it was a path problem in the WP configuration, likely from the recent site move. But! 😀

    The thumbnails are pretty small and I can’t find a setting for that. Actually, the “size” attribute doesn’t seem relevant at all. I’ve alternated thumb, thumbnail, medium and large and it doesn’t change?

    It’s obviously been ages since I’ve tried to troubleshoot anything like this. Thanks for the help!

    Kris

    Plugin Author David Lingren

    (@dglingren)

    Thanks for your update with the good news regarding your progress. I’ve had another look at the page and have a suggestion for you.

    Your [mla_gallery] shortcode uses columns=3 as a default setting, and MLA calculates some CSS style settings from that. In particular, it specifies width: 30.3% for the gallery-item element. Normally that would give a width of 221 pixels based on the overall page content width of 730 pixels. However, your theme is adding many CSS styles that are modifying the gallery display. For some reason I don’t understand the net effect is limiting the item width to 72 pixels. Eliminating MLA’s width setting seems to solve the problem. You can remove MLA’s styling entirely by adding mla_style=none to your shortcode.

    You can try this by adding mla_itemwidth=none to your shortcode, which removes the width setting from MLA’s styles. Let me know how that works for you.

    Thread Starter Ellsinore

    (@ellsinore)

    I was thinking to try different theme(s) when I got home tonight. Still might, but in the interim, your solution works perfectly! Thank you for all your help and patience. 🙂

    Plugin Author David Lingren

    (@dglingren)

    Thanks for confirming the solution I suggested. After more reflection, I believe the cause was that the theme changed the gallery display to CSS “grid” layout, dividing the display into three “columns” within the grid. After that, MLA’s width: 30.3% became one third of the grid cell width, not the page width. So, the theme divided 730 pixels into three columns of 243 pixels and MLA’s width specification divided that to get a 74 pixel result.

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.