We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
SVGs, being scalable, should be displayed at the maximum possible size in the lightbox.
Using Firefox this works as expected. In Chrome, the SVG in the lightbox is tiny, tinier even than the viewbox specified in the SVG.
Lightbox2 version 2.11.1 Problem occurs in Chrome latest but not Firefox latest. Windows 10
Example SVG: overview.zip
Relevant HTML:
<div> <a href="{% link img/network/overview.svg %}" data-lightbox="network" data-title="LONAP Network Overview" style="cursor: zoom-in"> <img src="{% link img/network/overview.svg %}" alt="LONAP Network Overview" width="845" height="270"/> </a> </div>
Here is how the lightbox looks in Chrome:
Here is how it looks (correctly) in Firefox:
May be related to #552 however I have upgraded beyond the version fixed in that issue.
The text was updated successfully, but these errors were encountered:
Edge 44.18362.449.0 is also broken:
but Internet Explorer 11 is fine:
Sorry, something went wrong.
The page demonstrating the issue is now live - top image https://www.lonap.net/network
Fixed in https://github.com/lokesh/lightbox2/releases/tag/v2.11.2
No branches or pull requests
SVGs, being scalable, should be displayed at the maximum possible size in the lightbox.
Using Firefox this works as expected. In Chrome, the SVG in the lightbox is tiny, tinier even than the viewbox specified in the SVG.
Lightbox2 version 2.11.1
Problem occurs in Chrome latest but not Firefox latest.
Windows 10
Example SVG:
overview.zip
Relevant HTML:
Here is how the lightbox looks in Chrome:
Here is how it looks (correctly) in Firefox:
May be related to #552 however I have upgraded beyond the version fixed in that issue.
The text was updated successfully, but these errors were encountered: