Support » Fixing WordPress » How to add Images to 'Text' widget.
How to add Images to 'Text' widget.
-
I cannot for the life of me add an image to my ‘Text’ widget on my sidebar. I have tried the URL for the image from my Media Library (only the url text appears on my page). I have tried jpeg’s, png’s, anything I could think of and get nothing. Or even, how can we manage/edit the fonts, etc within the text widget? Trying to insert better text above the Aweber sign up box – http://maddogsolutions4u.com
Thanks in advance for any insight you can provide.
-
add an image to my ‘Text’ widget on my sidebar
Try this
<img src="your image URL goes here" alt="alt text here">
An easier way is to create a new post, upload the image the way you would for an article, then click on the Text Tab next to Visual, copy that code and paste it in a text widget
JanThanks for the suggestions! I’ll give them a try and keep my fingers crossed….
Mikey118’s method worked for me, but the image presented as a link to the image file, which I didn’t want.
Reducing
<a href=" ... .jpg">
to
<a>
removed the link.Just a note for anyone referencing this in the future
To add an image you dont need to create a new post to upload an image that you want to use in another location. Simply go to the Media section of the main menu and then add new image.
Andy – get rid of the
<a>
you don’t need it there at all.if you want an image to appear but not for it to act as a link you need to use this format
<img src="http://yourdomain.com/locationofimage.jpg" />
Thanks screamingviolet, simple and effective!
You know your stuff screamingviolet! Tried a bunch of suggestions from others with no luck until I read your entry! Thanks so much. Will this work if I upload a screenshot of an ad to the media library?
yes.. when you upload it you should see a field called File URL with a link like this -> http://www.screaming-violet.com/wp-content/uploads/2013/08/image-name-here.jpg
copy that link and inset it between the quotation marks below
<img src=" " />
its simple, basic html which you can learn from w3schools.com
but reply here if you have problems and Ill help you out
Thanks a lot
Hello screamingviolett! Thanks a lot, I had the same question and found this conversation and it’s resolved.
I just would like to link the image to the contact page.
How do I do this?
Thanks a lot!!!I just would like to link the image to the contact page.
example of linked image html code:
<a href="http://example.com/target_page"><img src="http://example.com/your_image_link" alt="" /></a>
http://www.w3schools.com/tags/tag_a.asp
http://www.w3schools.com/tags/tag_img.asp
- The topic ‘How to add Images to 'Text' widget.’ is closed to new replies.