Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION Embedding an svg logo in the header.inc.php
#1
Hi,

this may be not a Getsimple problem but a webserver problem...

I tried to embed an svg logo like in this instruction:

https://www.mediaevent.de/svg-in-einem-image-tag/

Code:
<svg width="96" height="96">
   <image xlink:href="svg.svg" src="svg.png" width="96" height="96"/>
</svg>

which claims to be very elegant, with a fallback png file for non-svg browsers.

It works fine on my WAMP server, but not on my web server. There I get none of the both logo files. It is empty...

It was also not possible just to embed the svg image with img src="" like a png image, there seems to be a delivering problem with svg files on the server. And: a link to an svg file shows not the rendered file but its source code.

Could anybody help me with this?

Thank you
Hypertexter
Reply


Messages In This Thread
Embedding an svg logo in the header.inc.php - by Hypertexter - 2016-10-07, 03:30:49



Users browsing this thread: 1 Guest(s)