SVG fails to load

Please fill out these questions for all feature requests and bug reports. If you're requesting a feature, please let us know why this feature is important or useful, not just what it should do.

  1. What browsers show this problem? firefox and chrome
  2. Please share an example project (if possible).
  3. Describes the steps to reproduce this issue. open download it as svg, try to load it into snap.
  4. What does Snap! currently do? display an empty image
  5. What should Snap! do instead? open the image

Is this bug a security concern? If so, please do not post security concerns directly to the forum. Please email us at Thank you!

Look at the sprite scale. Maybe only transparent parts are "visible" :wink:

What is the Sprite scale?


I don't think that's how that works, because if you make a sprite natively in Snap! the size stays the same. also, the sprite is visible and to-scale in the project.

Hi everybody,

That svg example file has not width and height attributes defined. This is the problem. I don't know if Snap! must solve this and use the attribute viewBox (defined in that example as "0 0 45 45" to its visualization as other viewers do).

But here, you only have to edit that file and add width="45" height="45" to the svg tag, and "this cheese" will appear on stage!
Checking "width/height of costume" reporter you will see this problem.