• We recently upgraded the WordPress version to the latest 5.1. We’ve also done the due dilligence of disabling all plugins to rule out any plugin code at work.

    The only difference is that the blog is using Aruba Nights theme by pipdig, and we’ve reachedout to them because we originally thought it was a Theme code issue, but they redirected us here as they claim that they “[their] themes are compatible with the gallery function”.

    On the attached blog URL, there are 3-4 galleries within that post alone, but each of those galleries are displaying the pictures in full size, as if they were uploaded into the post one-by-one.

    Any idea how to rectify this? I can go into code-level changes if need be, just need some direction on how to approach fixing this.

    Thanks for your help in advance,
    Nate

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator bcworkz

    (@bcworkz)

    In each gallery shortcode, try adding size="thumbnail" or change the current size attribute if one exists. The shortcode is getting direction to use full size images from somewhere. The default is supposed to be “thumbnail”. You can specify any image size defined for your site in place of thumbnail.

    Thread Starter nmargono

    (@nmargono)

    Hey, I have already tried setting the size to thumbnail before, but I just tried it again. In the post, that displays the pictures vertically, one after another, as if it’s set to 3 rows, even though in actuality it’s 3 columns. I hope that makes sense?

    On top of that, the captions aren’t being displayed properly either for each picture in the gallery.

    It seems like a bug, because this was never an issue before the WP upgrade to 5.1, and before a theme upgrade. My dilemma right now is trying to determine if it’s a WP issue or a Theme issue. Is there a quick way to troubleshoot that?

    Moderator bcworkz

    (@bcworkz)

    Yes. Install and activate the health-check plugin. Go to Health Check under Dashboard on the admin screen menu. Enable troubleshooting mode. The gallery should appear as expected because all of your plugins are deactivated and the theme switched to the default twentynineteen. Use the troubleshooting item in the admin bar to restore your normal theme. Check the gallery appearance again. If it’s still OK, the problem is not due to your theme. Restore your plugins, one by one, testing after each. When the gallery goes whacko again, the last activated module is the cause.

    Don’t forget to exit troubleshooting mode when you’re done investigating.

    Thread Starter nmargono

    (@nmargono)

    Solved: it was Jetpack > Modules > Tiled Galleries that needed to be activated.

    Thank you for the protip about the health-check plugin, will definitely come in handy next time!

    Moderator bcworkz

    (@bcworkz)

    Happy to help. Yeah, the health check plugin is awesome, as is the current project lead. One could do all of that manually, but why bother when the plugin is so easy?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Gallery shortcode isn’t behaving as a gallery in the post’ is closed to new replies.