Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lightbox aspect ration according to the image size #67

Open
PetrDlouhy opened this issue Jul 27, 2023 · 0 comments
Open

Lightbox aspect ration according to the image size #67

PetrDlouhy opened this issue Jul 27, 2023 · 0 comments

Comments

@PetrDlouhy
Copy link

The lightbox has pre-defined aspect ration 16x9. If I open high image, it becomes very small:
Snímek obrazovky_2023-07-27_16-02-56

How do I achieve the lightbox to change it's aspect ration according to the displayed image?
Are there any JS hooks triggered when changing the image?
Are there any HTML templates for the lightbox code itself?

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

No branches or pull requests

1 participant