Possible javascript issue when using tabber and gallery on same page
SOLVE
Hi there,
Currently have an issue using the gallery module with this page
You can see that there are 2 tabs, and on each one there is a gallery. The issue is, when you select the 2nd tab, the gallery doesn't load straight away and gives a broken image icon, but will either appear some time later or when you click on one of the arrows. So the initial main image is loading correctly but not on the second tab.
We need the galleries to show instantly. What would I need to do in the javascript file to make it so we can have 2 stances of this load at the same time?
Possible javascript issue when using tabber and gallery on same page
SOLVE
@PatKeo - I haven't seen the module you're referring to but, can you try changing the lazyLoad setting to "progressive"? Check out this post for an explanation of the difference.
If this answer helped, please, mark as solved 😄
tim@belch.io | forms.belch.io | Design your own Beautiful HubSpot Forms; No coding necessary.
Possible javascript issue when using tabber and gallery on same page
SOLVE
@PatKeo - I haven't seen the module you're referring to but, can you try changing the lazyLoad setting to "progressive"? Check out this post for an explanation of the difference.
If this answer helped, please, mark as solved 😄
tim@belch.io | forms.belch.io | Design your own Beautiful HubSpot Forms; No coding necessary.
Possible javascript issue when using tabber and gallery on same page
SOLVE
Hi Tim,
How would I got about it so it applies to all galleries that are added to that page? I created an additonal Javascript file to go with the template but this hasn't fixed the issue.
In the template, each tab section has a flexible column in it so the user can add a gallery and text to it, depending on the number of listings. For some it could be 1, others it could be 3 or 4 etc.
Possible javascript issue when using tabber and gallery on same page
SOLVE
@PatKeo -sorry, I didn't realize this was the built in gallery in the Design Tools. Adding the following script to the footer of your page should help out a lot:
The broken image symbol is no longer there when you switch which is great, but there is still a delay on the gallery appearing. The extra JS file attached to the template isn't helping.