Hello,
I have added an image to my page as follows:
<img src="build/news_01.jpg" />
and it does not show up. I checked to make sure that the
image is in the build directory and it is.
How do I fix this?
Thanks.
Hello,
I have added an image to my page as follows:
<img src="build/news_01.jpg" />
and it does not show up. I checked to make sure that the
image is in the build directory and it is.
How do I fix this?
Thanks.
Relative paths are not consistent in WordPress, because of the way WordPress creates URL's. If build is a top level directory in your web root, use <img src="/build/news_01.jpg" />
If its not top level include in the url the folders above build, from the web root down.
isnt this rudimentary????
http://www.village-idiot.org/broke/why-so-hard.jpg
Im trying to understand what about troubleshooting this is so difficult when there are countless ways to troubleshoot broken images.
I used a browser, ffs.
If build is a top level directory in your web root, use <img src="/build/news_01.jpg" />
It's worth noting, btw, that that isnt anything special in wordpress. Thats applicable everywhere.
This topic has been closed to new replies.