photos in sidebar (not using flickr)
-
I am new to blogging, and I was hoping someone could tell me how to put pictures that are posted on my blog in a sidebar. I don’t have a flickr account and I’d prefer to not have to start one, since I really don’t need it. Help…. anyone?
Thanks!
KathrynThe blog I need help with is: (visible only to logged in users)
-
You go to Media > Add New, upload the image there, and copy its URL. Then you go to Appearance > Widgets, activate a Text widget, and use this code model in it:
<img src="URL_OF_IMAGE_HERE" alt="DESCRIPTION_HERE" /></a>Of course the image has to be narrow enough to fit in the sidebar. Alternately, you can downsize it this way:
<img src="URL_OF_IMAGE_HERE" width="160px" alt="DESCRIPTION_HERE" /></a>
(The width number is just an exmple – you’ll have to find the width that best suits your sidebar.)Or you can temporarily upload and insert the image in a post, switch the post editor to html, copy the code of the image and paste it in the text widget.
And please paste the exact URL of your blog when asking questions here, or link your nickname to your blog (as explained in the Sticky 8 Things to Know Before Posting). We usually need that to give a relevant answer.
-
PS If you use the above codes and also want the image to be centered, add this after “img” (with a space before and a space after):
class="aligncenter" -
Thanks for the help! I will give it a try.
You’ll notice I linked my blog to my user name– thank you for alerting me to that :-)
- The topic ‘photos in sidebar (not using flickr)’ is closed to new replies.