Skip to content

fix: pass actual dimensions to lightGallery for proper video framing#182

Open
MDrollette wants to merge 1 commit intoalangrainger:mainfrom
MDrollette:video-size
Open

fix: pass actual dimensions to lightGallery for proper video framing#182
MDrollette wants to merge 1 commit intoalangrainger:mainfrom
MDrollette:video-size

Conversation

@MDrollette
Copy link

Videos were displaying with incorrect aspect ratios due to fixed dimensions. This change passes actual video and image dimensions to lightGallery via data-lg-size, allowing proper layout and framing.

before:
Screenshot 2026-02-03 at 1 56 07 PM

after:
Screenshot 2026-02-03 at 1 57 00 PM

…e framing

Videos were displaying with incorrect aspect ratios due to fixed dimensions.
This change passes actual video and image dimensions to lightGallery via
data-lg-size, allowing proper layout and framing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant