How to Add an Image to Your WordPress Sidebar

by · 38 comments

email

Here is something I get asked a lot – how can I add an image to my WordPress sidebar?

This video shows you how:

In the video, I’ll show you how to upload the widget using the WordPress Media Library, grab the URL for the uploaded image, and then use a WordPress Text Widget to display your image in the sidebar.

In this case I’m using the Expand2Web SmallBiz WordPress theme, but this tip will work with any WordPress theme that is widget enabled.

Here is the code snippet I used in the video for the sidebar widget:

<a href="#"><img src=" " /></a>

Just put the URL of your image in between the quotes of the image source tag.

Note: You should resize the image to the width of your sidebar before uploading. In this case the image is 200px wide. The width of the sidebar will depend on your WordPress theme.

If you enjoyed this article, get email updates (it's free).

See my disclosure about advertising and affiliate links

{ 38 comments… read them below or add one }

eileen January 22, 2010 at 6:23 am

This video tutorials are awesome! Thank you – it worked like a charm!

Reply

Lynn Wilhelm January 22, 2010 at 11:23 am

Hi Don,
I just discovered your site and all I can say is WOW!
I’m trying to figure out how to set up my website. I know I’m not a pro, but I need a pro-looking website for my landscape design company. I just don’t have any $$ now.

I don’t know if I can do it on my own, but I think I’m going to try with your help. I know a little bit of html and already have a WP blog.

By the way, how do I find out if I set up my WP on .org or on .com? I haven’t done much on it so it would be easy to move.

I need to set up my own host and domain name, too. I’m going to check out BlueHost.
Thanks for all the info!
Lynn

Reply

Don Campbell January 22, 2010 at 11:51 pm

Hi Lynn,
Thank you!

Well, if you are on WordPress.com you probably have a URL like yoursite.wordpress.com. If you are self-hosting your WordPress then you will have your own URL like yoursite.com.

Since you mentioned that you still need a domain name you are probably hosted on WordPress.com. Let me know your URL so we can check out your blog.

-Don

p.s. Here is an article I wrote comparing WordPress.com vs WordPress.org that covers the differences.

Reply

eileen January 23, 2010 at 7:38 am

Lynn, you may think that you don’t have any $, but you can make more money, you can’t find more time. The theme will save you HOURS and deliver a one of a kind look for your business. You are a designer – don’t show your clients a generic site – use the web to showcase your design talents – you wouldn’t have plastic flowers in your window boxes would you? Good luck!

Reply

Phyllis February 10, 2010 at 2:01 pm

I have a short-cut. I create a new post – add the image – then switch over to the html view – grap the code and put it in the text widget.

Reply

Lauren April 19, 2011 at 5:37 pm

Phyllis,
Thank you for the short cut!

Reply

Ruth December 11, 2011 at 4:52 pm

Very smart!

Reply

Don Campbell February 10, 2010 at 2:12 pm

That’s a good one Phyllis – it cuts out the need to switch over to the Media Library and then back to the page – thanks for sharing it!
-Don

Reply

Jean March 4, 2010 at 7:34 am

Thank you! WordPress is awesome!! Your tutorials are awesome!

Reply

Rope March 27, 2010 at 4:55 am

Very good and short. Nice.

Reply

Shivanee April 22, 2010 at 10:40 pm

Don … thank you! This has been incredibly helpful. I’d love to reference any of your other tutorial videos, if you’ve got a series of them.

Reply

Don Campbell April 22, 2010 at 10:47 pm

Jean, Rope – thank you!

Shivanee – my pleasure. I do have a series of how-to videos and tutorials for WordPress. You can see more of them here: WordPress Video Tutorials
If there is anything in particular you would like to see, let me know. I’m always looking for new tutorial ideas!

Reply

kurtmarcus April 28, 2010 at 2:09 am

many thanks :) so helpful

Reply

Pilar June 3, 2010 at 4:32 pm

good video, very easy to follow, thank you!!!!

Reply

Sebastian June 15, 2010 at 7:16 pm

Thaks for the great info man, really appreciated!!

Reply

TJ Harris September 20, 2010 at 11:41 am

Really very helpful and easy to understand through your video. Thanks

Reply

Laura October 14, 2010 at 11:16 am

That was so easy with your help, Thanks,

Reply

Anara October 21, 2010 at 5:12 am

Love your tutorials. My current blog is on Blogger and I have spent hours hacking the snot out of it! I try to figure out the name of what I want to do, then do searches until I find a site to teach me. I am a total newbie with major time and money crunches and I am tired of learning this way.

I just started my first WP blog, with hopes of creating a site that is more sophisticated and appropriate for ad space. When I get this mastered, I hope to convert the existing blog to WP. Your video tutorials have been invaluable! I know this is a business for you, but you are also providing a great service for those of us who have to sweat about the smallest purchase. Thank you for posting your videos on You Tube and here!

Reply

Don Campbell October 21, 2010 at 8:08 am

@kurtmarcus, Pilar, Sebastian, TJ Harris, Larua, Anara – thanks guys! I really appreciate you taking the time to leave me a comment.

Reply

Kirk October 21, 2010 at 10:53 pm

Hey Don,

First, thank you for this option. Now the problem is that I am a total newbie to wordpress. It is hosted at 1and1. I am learning, slowly, how to use it, however do not know coding. I had a friend update the wordpress to 3.0.1, but now I can’t see certain pages, can’t see comments, and can’t seem to upload plugins?? Help!

Reply

Don Campbell October 29, 2010 at 2:17 pm

Hi Kirk,
You might want to have him back out that upgrade. I’m not sure why pages would be missing… You should call 1and1 support so they can look into the permissions on your site.

Reply

Nataki October 28, 2010 at 4:12 pm

Thanks for the tutorials! I was having a lot of difficulty but the site is coming along now. Although Wordpress is pretty easy to use, it is not intuitive and as a beginner I was quickly overwhelmed. Thanks again.

Reply

Don Campbell October 29, 2010 at 2:18 pm

You’re most welcome Nataki!

Reply

Marie November 25, 2010 at 2:45 am

Hi Don
Thank-you so much for this easy tutorial – couldn’t get my image to display at first but then I re-ran your video until I figured it out!
Thanks
Marie

Reply

felix November 27, 2010 at 6:13 am

hi don

its so wonderful to discover your blog and the tutorial was what i was looking for. i also wanted to know how to upload image on my wordpress but i just couldnt get the hang.

i tried uploading a facebook and twitter pluf in but i messed everything up.

im new to the game and i really appreciate what you are doing. i hope to be around for many of such tutorials. please if you have the chance you can visit my site and take a look and give a suggestion how im going to make it look professional.

thanks

felix

Reply

George January 5, 2011 at 8:19 pm

Great tip, Don. Thanks!

Reply

owais khan January 8, 2011 at 7:27 pm

hi boss
gr8 video
really helpful and to the point
cant say much apart from that

owais khan

Reply

ajay bantawa rai March 15, 2011 at 11:03 am

Wow! Magic Video. Thank You. Have a Nice time.

Reply

Per Bach April 11, 2011 at 1:17 am

I was missing the “Image Widget” in my dashboard Twenty-Ten theme and couln´t figure out how to place an image in the sidebar. But this video was very helpfull – it solved a problem I have been trying to figure for long.
thank you very much for making it avalable.
best wishes
Per

Reply

Steve May 16, 2011 at 8:24 pm

Thank you Don for the helpful video. I found yours was one of the easiest to follow.

Reply

Mike September 5, 2011 at 1:15 pm

Hey Don – Quick Question: Why did you wrap the img code between the href tags? Doesn’t Wordpress recognize the standard ? Sorry, I am just working to understand your strategy.

Reply

Don Campbell September 5, 2011 at 2:11 pm

Hi Mike,
You don’t need the href tags unless you want the image to be a hyperlink that you can click on. So there are two tags there – the tag for the image, and the
tag for the hyperlink.

It is standard HTML, nothing to do with WordPress.

Reply

jhone October 1, 2011 at 9:56 am

man you reaily help out with the image widgets

Reply

Dawn H November 27, 2011 at 9:12 am

Hi Don,
I am currently setting up my wordpress blog expressly for promoting my upcoming books to be published online. Handling the marketing will be easier using your tutorials. Thanks so much for the information that is clear cut and manageable by novices such as myself.

Reply

James November 30, 2011 at 1:27 am

I have never built a website before but I have now, thanks to this theme package!

Question – I have added a image to my homepage sidebar but it added these images to all my pages. Say if I wanted a different image on every page, how would I do that?

Thanks.

Reply

Thomas November 30, 2011 at 10:35 am

James,
if you drag a widget into the “Default Sidebar: it will be added to all pages except for your Contact, Find Us, and Blog Page. Those 3 have their own dedicated Sidebar area. http://userguide.expand2web.com/how-can-i-remove-the-default-social-media-widgets/

If you you would like to have a WordPress page with a unique Sidebar you can use the “Optional Sidebar 1″ or “Optional Sidebar 2″ template. http://userguide.expand2web.com/using-the-optional-sidebar-1-and-2/

For more tutorials visit the SmallBiz User Guide or email me directly at thomas@expand2web.com

Reply

Jeff Evans December 22, 2011 at 3:54 pm

Don,

I am trying to get the book add image on the right of this site http://danariely.com/ to my fathers author site. How do I add two links to one image in Wordpress?

Reply

brvhrt January 22, 2012 at 12:57 am

Thank you very much for making such a nice video.

Reply

Leave a Comment

Previous post:

Next post: