Adding img tag into a template with a relative link
-
Hi All,
I’m trying to insert an image from my images folder into a custom templates php file. For some reason, if I use a relative link to my images folder, it doesn’t work:
<img src=”images/banner_temp.jpg” />But if I use an absolute link to my image, it works:
<img src=”http://www.fake.com/images/banner_temp.jpg” />Does anyone know how to make an relative uri work in a templates file?
Thanks in advance… D.T.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Adding img tag into a template with a relative link’ is closed to new replies.