Support » Fixing WordPress » How to insert an image into the Text widget

  • WP 2.9.2 Frugal stock theme URL

    I have uploaded my image to the WP library and followed the instructions form another post:

    “You can use the Text Widget supplied with WP to display a picture in the sidebar if your theme is widget-enabled.

    First go to Admin->Media->Add New and upload the image you want. Once it is uploaded, click in the File URL box, hit CTRL-A CTRL-C to select and copy the URL.

    Then go to Appearance->Widgets and drag the text widget into the sidebar. In the text area, enter ‘<img src=”‘, then CTRL-V to paste in the URL of your picture. Type ‘” />’ to close the img tag. Click Save.

    You may need to use the height and width attributes to size the image. You should end up with something like this:

    <img src=”” width=200 height=120 /> “

    The URL form the Media library for my image is diffeent form the one in the example above:

    When I add <img src=” & /> to the above link & insert in the text area of the widget, the image does not go to my web page & the current content changes location within the web page.

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael


    Forum Moderator

    did you have quotation marks before and after the image url?

    the line should look like:

    <img src="" />

    That worked. Thank You

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to insert an image into the Text widget’ is closed to new replies.