Viewing 2 replies - 1 through 2 (of 2 total)
  • Stock gallery shortcode works on mapped domains for us. Have you confirmed it’s not an issue with any other plugins or your theme?

    > When a user clicks on the thumbnail, it opens the image and not the lightbox,

    Note that this IS the expected behavior for the stock gallery shortcode. There is no stock lightbox that comes from [gallery]

    Thread Starter tgelles

    (@tgelles)

    My apologies, we’re evidently using a custom plugin that replaces default [gallery] shortcode to use Foundation’s clearing javascript.

    What’s happening is this line of code in said plugin: wp_get_attachment_image_src($id, 'full', false, false); . The wp_get_attachment_image_src function is serving the image from the host.

    I realize this is outside the scope of the plugin’s support, but think it’s worth sharing in case anyone else encounters this problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Gallery Shortcodes’ is closed to new replies.