SRCSET
-
Hello! I’ve sort of run into a weird problem ??
For Desktop, when I run my site through pagespeed tests, it’s scoring much better now in the image category now that I have this plugin. Thanks!
However, for mobile, I’m still scoring poorly, mainly because it looks like Google is depending on the srcset property (despite the fact that the size of the gravatar doesn’t change – it’s still 75px wide on desktop and mobile) and that is srcset image is still hosted with gravatar. Plus, for some reason, it’s 150 width image (despite the fact that for desktop it’s 75px wide).
Anyone know of a clever way to disable srcset for gravatars? Or maybe a way to have the srcset be my locally hosted image instead? I’ve been searching for the past 2 hours and can’t seem to find a solution.
Example image code:
<img alt="" src="https://homemadehooplah.com/wp-content/plugins/fv-gravatar-cache/images/6f70016c0e4f37df52313a8b264d620f" srcset="https://0.gravatar.com/avatar/6f70016c0e4f37df52313a8b264d620f?s=150&d=mm&r=g 2x" class="avatar avatar-75 photo" height="75" width="75" data-pin-nopin="true">
- The topic ‘SRCSET’ is closed to new replies.