internet explorer - SVG Images not visible when ie9 with ie8 standards is used -


when ie9 ie8 standards used, svg images not visible in website.

any suggestion solve problem?

thanks

you should have image fallback deal browsers don't support svg:

<img src="images/yourimage.svg" onerror="this.src='images/yourimage.png'"/> 

if browser doesn't support svg, fail load image (since not accept svg mime type), , throw error captured onerror, replace using javascript.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -