• Resolved jaseflag

    (@jaseflag)


    HI

    using Envira Gallery we are thinking the issue related to the tabs plugin, which isn’t allowing the gallery to finish loading.

    If you go to this page https://www.the-flag-makers.com/custommadeflags/custom-flags/

    You will see a gallery of 8 images which works fine.

    But if you go to the tabs a bit further down, you will see a tab GALLERY

    If you click that tab only 1 image appears. The gallery has 30 images. If you click that image the light box does appear and you can view them.

    But I want the 30 to appear in the tab to start with.

    Now if you stay on that page and refresh the page they actually appear.

    The tab plugin I’m using is Tabby Responsive

    https://wordpress.org/plugins/tabby-responsive-tabs/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author cubecolour

    (@numeeja)

    I’ve never used Envira Gallery, but I suspect this is a limitation that occur with other gallery plugins when used with any tab plugin.

    This issue is mentioned in the faq:

    Why Doesn’t my slider or (non native WP) gallery work in any tab except the first one?

    Some carousel/slider/gallery plugins render their content with zero height & width if the tab containing the content is not visible on page load.

    Something that strongly suggests that this is the case can be seen if you resize your page after selecting the gallery tab. After initally being the gallery items are not visible initially, you can see that the items appear after jiggling the page width. This suggests that the gallery plugin needs to be able to detect when its content has become visible and trigger a resize in the same way it is triggered when the browser is resized.

    I believe that this issue would need to be fixed in the gallery plugin rather than it being something that can easily be fixed in the tab plugin.

    Thread Starter jaseflag

    (@jaseflag)

    The thing is though when you hit refresh on the page the gallery works on the tab section

    https://www.the-flag-makers.com/custommadeflags/custom-flags/

    @jaseflag – I deleted one of your recent posts as you offered to pay – see:

    http://codex.wordpress.org/Forum_Welcome#Offering_to_Pay

    Thread Starter jaseflag

    (@jaseflag)

    Sorry about that.

    Plugin Author cubecolour

    (@numeeja)

    Refreshing the page is possibly causing the gallery plugin to render its content at the correct size in the same way as changing the browser width triggers it to refresh.

    I can put this on my list of things to investigate. I already want to find a reliable fix for displaying google maps in tabs that are not visible on initial page load. As that is basically the same issue, the fix for this is likely to be similar.

    The answer given here may help:

    https://wordpress.org/support/topic/galleries-not-loading-in-tabs

    It might be a starting point even though it addresses the issue when using the gallery in a different tabs plugin.

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

The topic ‘Envira Gallery’ is closed to new replies.