Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author José Miguel

    (@jomisica)

    Hello @geleosan,

    Basically by inconsistency:
    .Not always the gravatars have srcset.
    . At other times, if the default gravatar is of type SVG, src and serset will be the same.
    . Because the lazy load does not yet handle with srcset.
    .Among others.

    I plan to add an add serset option, but it has to be concise with the whole plugin.

    I hope to add in version 2 of the plugin.

    Plugin Contributor Will Stocks

    (@willstockstech)

    I wouldn’t mind this as well @jomisica – I noticed that sometimes on iPad’s (mainly) Gravatars can look a bit blurry.

    I was going to try and add a srcset manually and just look for the imagesize * 2 but couldn’t find a “reliable” way to do this! In my case, when I manually check all Gravatars, they all have the equivalent higher resolution (2x) version – maybe it could be a “user option” for “Enable 2x” with a “NOTE: This is not guaranteed to work for all Gravatars”?

    Plugin Author José Miguel

    (@jomisica)

    Hello @willstockstech,

    In version 2 already works. With lazy load and no lazyload.

    However you need to take into account the quality of gravatars on gravatar.com.
    There are a lot of people with a gravatar with low resolution.
    https://en.gravatar.com/site/implement/images/#size

    I have already contacted gravatar.com to see if it is possible to know the size of the original gravatar. But I still had no answer.

    Knowing the original size would be possible to calculate if a 2x gravatar had better quality than a 1x gravatar.

    The calculation for the srcset depends on the divide pixel ratio.

    On devices with a 4x pixel ratio, for a 100×100 gravatar it was necessary that all gravatars sent to gravatar.com had a minimum of 400×400 to provide excellent quality.

    But again not what happened. Because of the explained above.

    If the image of a certain user is lower than desired the image will be upscaled, losing quality.

    Plugin Author José Miguel

    (@jomisica)

    Of course people are becoming aware and over time will upload images with more quality.

    But for the moment, to get the best results, we should not use large gravatars. Always thinking that twice the size is used on multiple devices.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘2x?’ is closed to new replies.