You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*** note on the above, we hate including our key here
However, when we do this, the light gallery, while it works, takes the full size of each of the images in the slider as the HEIGHT instead of just the primary image.
The 1 in the image is the first image (a element with img under it), and it's height, the 2 is the 2nd image, the 3 is the 3rd image; and while the light box displays the actual first image as the first slide, the total height is equal to the total height of all 3 images, which it shouldn't be.
How can we fix that?
Version of Plugin used: lightgallery | 2.7.1 | January 11th 2023 Plugins Enabled: lgZoom and lgRotate Type of Site: standard website, non viue/react, just html5
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
So, I have been testing this plugin as a replacement for our standard newsfeed for our social media platform, and we use a typical layout like:
JS Code to init:
*** note on the above, we hate including our key here
However, when we do this, the light gallery, while it works, takes the full size of each of the images in the slider as the HEIGHT instead of just the primary image.
The 1 in the image is the first image (a element with img under it), and it's height, the 2 is the 2nd image, the 3 is the 3rd image; and while the light box displays the actual first image as the first slide, the total height is equal to the total height of all 3 images, which it shouldn't be.
How can we fix that?
Version of Plugin used: lightgallery | 2.7.1 | January 11th 2023
Plugins Enabled: lgZoom and lgRotate
Type of Site: standard website, non viue/react, just html5
Beta Was this translation helpful? Give feedback.
All reactions