Closed charlie5188 closed 6 years ago
Nice idea! This feature has not been implemented. I don't have time to code it right now. Feel free to send a PR though.
Hi @charlie5188, could you please provide more details and a specific use case for this enhancement? Also, how would you like to use this feature as a user of the library?
I'll see if it doesn't make the code too complex.
Went for solution #6, fixed with #21.
There are mainly 2 ways of setting images for different dpi: one is CSS background with media query, the other is
srcset
attribute with<img>
.Is it possible to show alternative image that are set in srcset when zooming?