-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
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
Zoomed image not full resolution. #16
Comments
This is a primary road block for me as well to adopt this plug-in for gatsby. According to the https://github.com/francoischalifour/medium-zoom#features e.g. <span class="gatsby-resp-image-wrapper" ...>
<span class="gatsby-resp-image-background-image" ...></span>
<img
class="gatsby-resp-image-image medium-zoom-image"
src="..."
srcset="
/static/84160956ebc5081b3b4b302aa7fdfeba/e1ae0/test.jpg 225w,
/static/84160956ebc5081b3b4b302aa7fdfeba/b7f58/test.jpg 450w,
/static/84160956ebc5081b3b4b302aa7fdfeba/062c0/test.jpg 900w,
/static/84160956ebc5081b3b4b302aa7fdfeba/4e52c/test.jpg 1350w,
/static/84160956ebc5081b3b4b302aa7fdfeba/490e5/test.jpg 1600w <---- should load this image on hi-res screen
"
...
/>
</span> |
|
Zoomed image is not the original(full resolution) image, but the same image provided for the current view port size.
Using this config:
Zoomed image is stretched and still 960px width, event if the screen is wider.
I guess the most correct behavior is to use the original(full resolution) image.
The text was updated successfully, but these errors were encountered: