Hello, for some reason I cannot get an svg image to show using
<img class="logo1" src="<?php echo url('assets/images/jte.svg')?>" />
By using the chrome inspector and looking at the resources the svg shows by clicking I get the svg code starting with <?xml version="1.0" encoding="utf-8"?> and so on...
Any suggestions?
Why would you write a function that accepts and returns a string that would just otherwise work without the PHP function? I don't get it.
Why not just write <img src="assets/images/jte.svg" class="logo" alt="">
<img src="assets/images/jte.svg" class="logo" alt="">
Am I missing something?
I'm trying everything here... tried what you have. Still nothing.
http://jamilopitts.com/kirby
Where is the image located, in your directory structure, relative to the page you are trying to render it?
out two folders and in the assets/images
Well first of all, you have bunch of HTML syntax errors. This could be source of your problem.
Here's possible HTML structure for your page http://codepen.io/anon/pen/teozj (CSS is incomplete, but you get the idea how to continue coding)
Thank you
It's solved? I'm seeing the svg image, at least in Chrome.
Chrome & FF & Safari & IE9/10 (standards)
IE8 standards (via F12 in IE10) borks.
To avoid confusion possible double post: http://css-tricks.com/forums/discussion/comment/96299
Hello, for some reason I cannot get an svg image to show using
By using the chrome inspector and looking at the resources the svg shows by clicking I get the svg code starting with <?xml version="1.0" encoding="utf-8"?> and so on...
Any suggestions?
Why would you write a function that accepts and returns a string that would just otherwise work without the PHP function? I don't get it.
Why not just write
<img src="assets/images/jte.svg" class="logo" alt="">Am I missing something?
I'm trying everything here... tried what you have. Still nothing.
http://jamilopitts.com/kirby
Where is the image located, in your directory structure, relative to the page you are trying to render it?
out two folders and in the assets/images
Well first of all, you have bunch of HTML syntax errors. This could be source of your problem.
Here's possible HTML structure for your page http://codepen.io/anon/pen/teozj (CSS is incomplete, but you get the idea how to continue coding)
Thank you
It's solved? I'm seeing the svg image, at least in Chrome.
Chrome & FF & Safari & IE9/10 (standards)
IE8 standards (via F12 in IE10) borks.
To avoid confusion possible double post: http://css-tricks.com/forums/discussion/comment/96299