Image In Sidebar Widget

5 replies
Hey Gang,

I built an image from scratch that I want to put in my widget sidebar in wordpress.

I am just wondering how do we create the HTML code for that Image?

In Many Thanks,
Tom
#image #sidebar #widget
  • Profile picture of the author Mike Hlatky
    <img src="URL OF YOUR IMAGE HERE" />

    Put the URL of your image there and then copy and paste the whole thing into a text widget.
    {{ DiscussionBoard.errors[3283744].message }}
    • Profile picture of the author tomfinster
      Thanks Mike,

      Another question... I guess it doesn't matter what folder we upload our images to --- Just as long as it's under our WP-Content folder, right?

      In Many Thanks!

      Tom
      {{ DiscussionBoard.errors[3283914].message }}
      • Profile picture of the author Michael Shook
        Originally Posted by Tom Pregon View Post

        Thanks Mike,

        Another question... I guess it doesn't matter what folder we upload our images to --- Just as long as it's under our WP-Content folder, right?

        In Many Thanks!

        Tom
        It doesn't really matter but WP provides you with a media library folder and when you upload something there, it will show you the URL so you can copy and paste it into your text widget.
        Signature


        {{ DiscussionBoard.errors[3283918].message }}
      • Profile picture of the author Mike Hlatky
        Originally Posted by Tom Pregon View Post

        Thanks Mike,

        Another question... I guess it doesn't matter what folder we upload our images to --- Just as long as it's under our WP-Content folder, right?

        In Many Thanks!

        Tom
        You could upload it anywhere on the Internet and it would work

        But, I would go with what JMichaelZ said, use the tools that Wordpress supplies.
        {{ DiscussionBoard.errors[3283985].message }}
  • Profile picture of the author tomfinster
    Thanks Guys!
    {{ DiscussionBoard.errors[3284053].message }}

Trending Topics