You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you have and image with a given aspect ratio, for example 2 / 1 and have object cover on the image it can lead to very bad image quality. Image ratio like 1/1 work fine, but as wider the image gets, like 2/1 or 3/1 it gets worse and worse.
@benaja you said you had tried it with version 1.1.0 upwards already, right? Because there we tried to fix exactly that by checking if the image has object-fit: cover; in it's computed styles.
When you have and image with a given aspect ratio, for example 2 / 1 and have object cover on the image it can lead to very bad image quality. Image ratio like 1/1 work fine, but as wider the image gets, like 2/1 or 3/1 it gets worse and worse.
Here a code example:
As I saw, the 'src' of the image would be the correct quality. But the srcset is wrong. Thats why it shows the wrong image.
The text was updated successfully, but these errors were encountered: