Max zoom density setting
ausi opened this issue · 6 comments
Currently if you have an image with a very small important part and an image size with a zoom level of 100%
you will get very small images that will be shown blurry to the user as they will get upscaled by the browser.
It might make sense to add a setting for a minimum density that ensures that the zoom will stop as soon as the minimum density is reached. Possible names: zoomMinDensity
, maxZoomDensity
,…
/cc @Toflar
maxZoomDensity 👍
I my case such images would still be blown up by the browser to fix their div, that wouldn't change, would it?
I my case such images would still be blown up by the browser to fix their div, that wouldn't change, would it?
@aschempp Can you describe your case in more detail?
What does “to fix their div” mean?
I think with or height 100% is what I mean 😅
I think with or height 100% is what I mean 😅
👍
I my case such images would still be blown up by the browser to fix their div, that wouldn't change, would it?
@aschempp Can you describe your case in more detail?
This setting should prevent upscaling in the browser as it limits the maximum zoom level that can be applied and thus results in larger (more pixels) images. But as I don’t know anything about your case I’m not sure if this applies there.
I can't really, I was just thinking about the consequences. But the config makes sense (if I understand it correctly).