bs5-lightbox icon indicating copy to clipboard operation
bs5-lightbox copied to clipboard

Lightbox aspect ration according to the image size

Open PetrDlouhy opened this issue 11 months ago • 0 comments

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?

PetrDlouhy avatar Jul 27 '23 14:07 PetrDlouhy