Chrome (Developer Tools) shows that it responded with a 200, but the Preview does not show the image.
A manual wget shows that the request seems to work – I get the svg payload.
I did some more digging and realized that the content-type looks incorrect. It is image/svg instead of image/svg+xml.
I notice that if I open the svg image in the browser it prompts me to download the file instead of displaying the image. Looks like a bug.
@hrishikesh This is happening to my Next.js projects as well. All svgs in an image tag are broken. Everything was working fine the other day. Is there a fix besides the workaround that @AnthonyW did?
Thanks for reaching out and welcome to Netlify’s Support Forums!
Could you let us know the sitename.netlify.app name or the custom domain? We’ll then add the custom domain to a feature flag which should resolve the issue.
Thank you for following up. I’ve added station8-fluid-development.netlify.app to the feature flag. If you could let me know the other two sites, I’ll add them as well. Let us know if you’re still seeing issues on the station8-fluid-development.netlify.app site. Thanks!
I’ve added the two sites you mentioned above to the feature flag on our end. This isn’t something you can do on your end. Please let us know if this isn’t resolved for you on your sites.
Apologies for the delay. I’ve added station8-oai-development.netlify.app and re-added station8-oce-development.netlify.app to the feature flag. Can you let me know if they are working? When I originally added station8-oce-development.netlify.app I didn’t realize the https:// was included and I believe that may be why it wasn’t working. I’ve fixed that and ensured that none of the domains include https:// when added to the feature flag.
From what I read of this, the issue can only be resolved by a Netlify engineer changing some setting for the user, is that correct? If so, could I please PM you the sites that require SVG’s to be enabled?