Closed ruimnetob closed 5 years ago
oof. Sorry I missed this PR. Thanks for noting the issue and sending the fix.
oof. Sorry I missed this PR. Thanks for noting the issue and sending the fix.
:) glad to have contributed. Thank you for making this great library!
Seems like there is a bug in line 306, the code is comparing against width but we want height.
Previously the 'maxHeight' in lightbox.options, wouldn't work properly. I tested it after correcting and now the image is resizing properly.