Open richardonrails opened 4 years ago
When I do this:
<%= gravatar_tag user.email, size: 20, default: 'mm', secure: true %>
It gives:
<img alt="" height="20" src="......?d=mm&s=20" width="20">
However what I'd really want is a way to have the images display @2x for Retina / high DPI screens, where it ask for ?s=40 from Gravatar and display it in an image tag with height/weight=20 still.
?s=40
Is there any way to do this?
Hi @richardonrails, no this is not possible right now, but I'd happily accept a PR to fix this - and I suppose you can solve it with css.
When I do this:
<%= gravatar_tag user.email, size: 20, default: 'mm', secure: true %>
It gives:
<img alt="" height="20" src="......?d=mm&s=20" width="20">
However what I'd really want is a way to have the images display @2x for Retina / high DPI screens, where it ask for
?s=40
from Gravatar and display it in an image tag with height/weight=20 still.Is there any way to do this?