I have a project without .htaccess (I already found solutions when you have .htaccess in your project) and it does not display my .svg. Normal images are displayed correctly. The error message is as follows:
Resource interpreted as image but transferred with MIME type text/xml.
I am using xampp in osx yosemite version 10.10.1. Can i add
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
somewhere in my xampp?
Thanks in advance!
Edit: I reinstalled xampp and solved the problem. I will leave it open if people come back to this problem again, and one of the answers may be correct.
source
share