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.
C:\xampp\htdocs\svg.html
- Code: Select all
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>SVG test</title>
</head>
<body>
<object data="testimage.svg" type="image/svg+xml"></object>
</body>
</html>
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.