Relative URL doesn’t work.
-
I’m calling an image into my sidebar (from sidebar.php) but have to use the full Absolute URL to make it appear.
The relative URL address doesn’t seem to work.The loooooonnnnnnngggggg Absolute address is :
‘<img src=”https://localhost/wordpress/wp-content/themes/MistyLook/img/todaysspin.png” alt=”Today’s Spin”>’So far, I’ve tried all the following variations of the Relative HTML address, unsuccessfully:
‘<img src=”img/todaysspin.png”‘
‘<img src=”/img/todaysspin.png”‘
‘<img src=”./img/todaysspin.png”‘
‘<img src=”../img/todaysspin.png”‘
‘<img src=”mistylook/img/todaysspin.png”‘
‘<img src=”/mistylook/img/todaysspin.png”‘Am I missing a period or a comma or something?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Relative URL doesn’t work.’ is closed to new replies.