edj wrote:I tried replacing the <svg>...</svg> code with all three versions: <embed..., <object..., <iframe... and just embedded svg by entering <svg..., but they all gave me the same results that I experienced before.
Well, on my testing machine that worked very well.
- Code: Select all
<object data="testimage.svg" type="image/svg+xml"></object>
http://localhost/svg.html will display the C:\xampp\htdocs\testimage.svg in Google Chrome 23 with XAMPP 1.8.1
At least that is a pure Browser issue. You could also doubleclick such a html file without needing any webserver.
Apache don't need to interpret the svg image, so no changes to Apache are needed.