You’re probably best editing your sidebar template and adding the image code where you want the image to display.
<img src="url_of/image.jpg" width="xxx" height="yyy alt="text alternative" />
Add a text widget to your sidebar at the prefered location and put this code inside that text widget
<img src="url_of/image.jpg" width="xxx" height="yyy alt="text alternative" />
Thread Starter
irori
(@irori)
Thankyou both, I have decided to go with the sidebar widget this is what I have put into the code in the widget but only the words ‘textalternative’ is showing in my sidebar with no image?
<img src="url_of/www/public_html/wp-admin/images/sidebarimage1.jpg" width="140px" height="400px alt="textalternative" />
what am i doing wrong?
You need to use the full address of the image that you want to display in place of url_of/www/public_html/wp-admin/images/sidebarimage1.jpg.
Thread Starter
irori
(@irori)
thanks esmi
I have done this and ensured that the image is in the correct folder but i am still not getting the image on my website, this is what I have in the code exactly in the widget box
<img src=”url_of/www/public_html/wp-content/themes/atahualpa342/images/sidebarimage1.jpg” width=”150″ height=”400 alt=”textalternative” />
You have the url wrong. It should look more like
<img src="http://www.example.com/images/sidebarimage1.jpg" width="150" height="400 alt="textalternative" />
Thread Starter
irori
(@irori)
tried that still not showing any picture, one interesting thing is though, when the page is loading you can see the outline of where the photo is meant to come up but then when the page loads it is not there, could there be something simple blocking it?
The url is not correct. You have:
http://www.peacefulsilkworms.com.au/public_html/wp-content/themes/atahualpa342/images/sidebarimage1.jpg
but it should be
http://www.peacefulsilkworms.com.au/wp-content/themes/atahualpa342/images/sidebarimage1.jpg
Thread Starter
irori
(@irori)
Your a legend! it works! thankyou thankyou!!!!!!