natashawylie / iviewer

image viewer plugin for jquery
233 stars 97 forks source link

Can't properly show SVG in IE #74

Open MurilloBatalha opened 10 years ago

MurilloBatalha commented 10 years ago

Hi,

I'm using your plugin to show some SVGs. But when i open my site in IE the plugin can't show properly the image.

Debugging i see that when the image is loaded the width and height both are 0.

You can reproduce this issue using the test page, just change the src of the img tag to point to a svg.

This is my JS

var iv = $("#svgViewer").iviewer( { //Hidden input that has the file Url src: $("#imageUrl").val(), zoom_min: 1, update_on_resize: false, ui_disabled: true, zoom_animation: false });

kaloyan-raev commented 9 years ago

Same problem here. SVGs on IE 11 are not displayed.