Imgbot
Imgbot copied to clipboard
SVGs are broken in aggressive mode
We used Imgbot on https://github.com/PostHog/posthog.com and recently enabled aggressive optimization to increase compression rates. Imgbot put out a PR with that aggressive optimization of images and it went well for raster images, but simply broke all our SVGs (PR https://github.com/PostHog/posthog.com/pull/1568/)
Default | Aggressive |
---|---|
![]() |
![]() |
All the places where weirdly overflowing alt text is shown are SVG images in <img src="data:image/svg+xml;base64,{base64-encoded-svg-file}">
form.
Can you provide some images for which this is happening for us to look into the issue, or is it happening for all the svgs from that pr ( https://github.com/PostHog/posthog.com/pull/1568 )?
Certainly many, posthog-logo-svg.svg
(at the top of the files list) seems to be one example there, but not sure if all.