Adding img tag into a template with a relative link
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.
- The topic ‘Adding img tag into a template with a relative link’ is closed to new replies.