←back to thread

An SVG is all you need

(jon.recoil.org)
258 points sadiq | 1 comments | | HN request time: 1.276s | 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 #
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 #
1. airstrike ◴[] No.46237666[source]
yeah, I was super disappointed to find that out when I built previews for https://hexrgb.pages.dev