.svg images not showing

bug

#1

I have a very weird error that occurs with SVG images:

<img src="https://faviconer.net/img/arrow-right-dark.svg" alt="Next">

Here is an example.

While the image is available when viewing it directly, it doesn’t display when used as a “src” for an image from a different domain. It’s true for any .svg images. PNG, GIF, JPEG and other images are fine.

Thanks in advance.


#2

Thats not really Cloudflare related.


#3

content-type: text/html; charset=UTF-8, wrong mimetype that why you can view directly but not in img tag


#4

The thing is that the error started occuring only after I moved the domain to CloudFlare


#5

Changed it to image/svg+xml - still not showing


#6




#7

Oh! Thanks so much. I’ve been looking through firebug, that was showing me incorrect content-type. The problem really wasn’t with cloudflare. Thank you agan!