Streaming live at 10am (PST)

[Solved] SVG do not appear at all


#1

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.


#2

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


#3

Yeees, it works !!!

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

Many many thanks pastiwibawa smiley


#4

@helvetica smiley Glad it helps.

Cheers


#5