python-coverage-comment-action
python-coverage-comment-action copied to clipboard
Images don't display in email notifications from Gmail
I wonder if there's something we can do so that notification emails are more readable. (this is from Gmail btw)
Works on other clients.
I see the same issue using corporate gmail and Apple Mail
Hm, so I think it's because svg is not supported in many email clients.
Apparently, a simple change could be to switch from img.shields.io to raster.shields.io [edit] or changing .svg to .png[/]
Funnily enough, this could actually decrease the bandwith usage, as apparently on a few badges I've tried, the png is slightly smaller than the svg.
Ok, apparently the .png provided by shields.io are the exact size of the badge is supposed to appear, so on screens with high pixel density the badge is very ugly. Until we find a way to fix this, I think I prefer the badge to appear right in github and not in gmail than ugly everywhere.
I did some tests in #414 and nothing satisfactory was found. This stays an open problem. Anyone with an idea, feel free.
Hm, alternative idea: embed the SVG. Does this work ?
I use Gmail in Thunderbird, and it has the option to show remote images. In other words, these badges are not shown because they are on a remote server at https://camo.githubusercontent.com. I think so, you can use the data url and embed the image.
The problem is that we need to find something that looks retina-ok in a markdown(GFM) comment body, so that when GitHub makes email out of it, it works. If you finds something that works, please tell me