Lightbox not scaling height properly on mobile.
-
Hello!
First off, great plugin! Keep up the good work.
I do have a small issue though. On mobile, and when my browser width is sufficiently narrow on my laptop, the lightbox scales images to browser width effectively, but the height does not. It results in elongated images in lightbox view.
Here is an example. Please try to view one of these images with a narrow browser width, or on mobile.
https://www.douglasvautour.com/2013/11/07/cairo-days-before-the-spring-business-as-usual/
I can use Inspect Element to force the resize of the image, but putting the same code in CSS doesn’t do anything. A friend of mine suggested it was a javascript problem, because the image doesn’t scale as the browser width does.
Everything is up to date.
Thank you in advance for your help.
- The topic ‘Lightbox not scaling height properly on mobile.’ is closed to new replies.