SVG files directly inline in HTML

Issues related to previewing and publishing your web site.
Post Reply
User avatar
tommy888
 
 
Posts: 386
Joined: Mon Sep 28, 2009 5:41 pm
Location: Poland
Contact:

SVG files directly inline in HTML

Post by tommy888 » Wed Aug 21, 2019 7:56 pm

Are SVG files (publish as SVG) directly inlined in HTML so to avoid http requests?

And another questions regarding SVG? W
Why when I insert SVG as an image in WB it makes an impression of being blurred. In the browser it is scalable and looks fine.

I've noticed SVG image keeps proportion and cannot be easy st to whatever size? Is it true? Or is it WB behaviour?

Thank you for the response. :)

User avatar
Pablo
 
Posts: 18768
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: SVG files directly inline in HTML

Post by Pablo » Wed Aug 21, 2019 8:22 pm

Are SVG files (publish as SVG) directly inlined in HTML so to avoid http requests?
Yes
Why when I insert SVG as an image in WB it makes an impression of being blurred.
This is done for performance reasons. The SVG is converted to pixels in the workspace preview to reduce the number of render calls.

User avatar
tommy888
 
 
Posts: 386
Joined: Mon Sep 28, 2009 5:41 pm
Location: Poland
Contact:

Re: SVG files directly inline in HTML

Post by tommy888 » Wed Aug 21, 2019 8:25 pm

Good to know. Thank you :)

Post Reply