bs5-lightbox
bs5-lightbox copied to clipboard
Lightbox aspect ration according to the image size
The lightbox has pre-defined aspect ration 16x9. If I open high image, it becomes very small:
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?