←back to thread

An SVG is all you need

(jon.recoil.org)
281 points sadiq | 3 comments | | HN request time: 0.398s | source
Show context
martijn_himself ◴[] No.46236911[source]
>They are supported on just about every device and platform

Except they aren't. I recently used a simple SVG in a background and Safari wasn't able to render it properly so after trying lots of different things I gave up and used different sizes of raster images instead.

replies(3): >>46236993 #>>46237473 #>>46237957 #
1. stanac ◴[] No.46237473[source]
SVGs also are mostly unsupported for og:image tags (dependents on the app/browser). I know it's supper specific and I am not even sure if open graph is standardized protocol or not, but it's used everywhere.
replies(2): >>46237666 #>>46237921 #
2. airstrike ◴[] No.46237666[source]
yeah, I was super disappointed to find that out when I built previews for https://hexrgb.pages.dev
3. ◴[] No.46237921[source]