Skip to content
Snippets Groups Projects
Commit ccbb5a37 authored by Kreinsen, Moritz's avatar Kreinsen, Moritz
Browse files

Update index.php

parent 6d96fd21
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
$svg = "<svg xmlns='http://www.w3.org/2000/svg' width='100' height='50'><text x='10' y='30'>$text</text></svg>"; $svg = "<svg xmlns='http://www.w3.org/2000/svg' width='100' height='50'><text x='10' y='30'>$text</text></svg>";
$svgData = base64_encode($svg); $svgData = base64_encode($svg);
$src = "data:image/svg+xml;base64,$svgData"; $src = "data:image/svg+xml;base64,$svgData";
$imgTag = "<img class="front-face" src="$src" alt="$text" style="$style"/>"; $imgTag = "<img class='front-face' src='$src' alt='$text' style='$style'/>";
echo $imgTag; echo $imgTag;
?> ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment