Page 2 of 2

Re: Migrating from WOS database to XAMPP

PostPosted: 11. December 2012 21:25
by Altrea
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.

Re: Migrating from WOS database to XAMPP

PostPosted: 13. December 2012 15:56
by edj
Thanks Altrea.

I tried your code with a different image file. The image came up the way I expected, but the code you suggested did not cause the same image to be rendered automatically in the associated Wiki page.

There's something missing with the way the browser (or some other mechanism) is interpreting the <svg> and <\svg> identifiers.

There are noticable differences between IE 9.0 and Google Chrome 23.0 display image files. IE displays text and the graphical image associated with the .svg file; Chrome displays ONLY the graphical image, without the text.