Streaming live at 10am (PST)

[Solved] SVG do not appear at all

Hi,

the SVG files on my website do not appear at all (regardless of the device) when uploaded on my server. They appear tough fine on local or on Webflow. I edited myself those SVG files and exported them from Illustrator with default parameters.

Here’s the online url:
http://www.netmax.ch/test

Here’s the public Webflow:
https://webflow.com/design/nmx?preview=98fd768f73e16c69e1189c6ff8461294

Please can you help ? Thanks in advance :smiley:

Pascal.

Hi @helvetica Found a solution to your problem here http://www.ivanthevariable.com/fixing-svg-mime-type-errors/

It said somehow HTTP headers sent a wrong content along with your svg file that your website got it as text/xml instead of image/svg+xml.

It can be fixed by adding a rule to .htaccess file in directory that served images

AddType image/svg+xml svg

Let us know if this fix your problem.

Cheers

1 Like

Yeees, it works !!!

I spent two days to figure out why it was not working.

Many many thanks pastiwibawa :smiley:

@helvetica :smiley: Glad it helps.

Cheers