WordPress.org

Ready to get started?Download WordPress

Forums

How to add Images to 'Text' widget. (12 posts)

  1. lostinch
    Member
    Posted 1 year ago #

    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.

  2. Marvie Pons
    TutsKid Ninja
    Posted 1 year ago #

    add an image to my 'Text' widget on my sidebar

    Try this

    <img src="your image URL goes here" alt="alt text here">

  3. Mikey118
    Member
    Posted 1 year ago #

    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

  4. lostinch
    Member
    Posted 1 year ago #

    JanThanks for the suggestions! I'll give them a try and keep my fingers crossed....

  5. Andy Goss
    Member
    Posted 1 year ago #

    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.

  6. screamingviolet
    Member
    Posted 1 year ago #

    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" />
  7. Andy Goss
    Member
    Posted 1 year ago #

    Thanks screamingviolet, simple and effective!

  8. Jacalyn R
    Member
    Posted 11 months ago #

    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?

  9. screamingviolet
    Member
    Posted 11 months ago #

    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

  10. Sagor Islam
    Member
    Posted 10 months ago #

    Thanks a lot

  11. geebeede
    Member
    Posted 5 months ago #

    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!!!

  12. alchymyth
    The Sweeper & Moderator
    Posted 5 months ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic