How to put image in sidebar (I don’t understand the FAQ.))
-
I read the FAQ on how to put an image in the sidebar. I was able to upload an image to a post. The instructions after that leave me totally lost because I do not know what is meant by ”locate.“
”Put an image in your sidebar
Putting an image in a post is already covered here.
To put an image in a sidebar, upload the image using the steps from the above link to uploading images. Then find its location and add it to a text widget.“
_______________________________________
What do I do to ”find its location“? At first I thought that the location was the contents of the box labeled ”Link URL” but when I tried pasting it into a text box, all I got was the same thing that I copied, not a picture.(Of course.)So: How do I find its location, and then, how do I put that image in a sidebar??
Thank you…..
lornakismet -
There is also a code that the FAQ has. Did you miss it? <img src=”http://faq.files.wordpress.com/2008/04/01-001.gif”>
You paste your link to where http://faq.files.wordpress.com/2008/04/01-001.gif is.
-
You need to copy all the html code that you get when you upload the image to a post, not just its url. Look in the html editor and you should see what you need to copy.
-
An easy way to do a text widget for a sidebar is to use the visual editor (what you use to make a regular post) to place images and text. Then switch to the html editor, copy all the code, then paste it into the text widget. Obviously: don’t publish the “post,” and remember the sidebar is narrower than the post area.
-
Dear lizii, rosclarke and 1tess — Thank you so much for your help here. Now I am going to try to do it with the “Jentry” theme. I don’t know html beyond what I do with it when I copy it from Youtube and paste it onto a file. :-)
~Lornalornareiko.wordpress.com
Wish me luck because I’ll need it. :-)
-
Dear1tess: You saidm “An easy way to do a text widget for a sidebar is……..” but I want to put an image in the widget, not text.
lornareiko.wordpress.com
“Jentry” theme.Lorna
-
Lizii… You wrote, “You paste your link to where http://faq.files.wordpress.com/2008/04/01-001.gif is.”
But when I clicked onto that link above, it came to a WordPress page with no indication of what to do, or what it was.
I am lost.
lornareiko.wordpress.com
“Jentry” -
@lornakismet: 1tess is right – describing the same thing described in the FAQ. Keep in mind that “text widgets” are called so because you can only use typed text in them; but typed text includes html code (via which the visible outcome in the sidebar may be something else than what you type or paste in the widget itself).
To review:
One way (rosclarke, 1tess) is to upload the image in the visual post or page editor, edit it if necessary (by clicking on it then clicking the mountain icon that shows up), then switch to the html editor, copy its code (= the part that starts with an opening bracket then “img” and ends with the corresponding closing bracket) an paste it in the text widget. (The FAQ’s “locate” means just finding where that piece of code is, if your post includes more material).
Another way (lizii) is to get the URL of the image (URL = address, i.e. the part that starts with http and ends with “jpg” or whatever file type the image is) and paste it in the text widget, enclosed in this code:
<img src="URL_HERE"></a>In both cases you must respect the maximum width allowed in the particular theme you’re using. That width varies from theme to theme. The result if you exceed it also varies: might get the image partially displayed, or spill past the sidebar border – or it might mess up your blog. That’s why you may need to edit the image. If you use the first way, you downsize it in the uploader, then copy the resultant code. If you use the second, you either downsize the image in an image editing application, then upload it, or you use this code:
<img src="URL_HERE" width="160px"></a>
(number adjusted as you see fit)
- The topic ‘How to put image in sidebar (I don’t understand the FAQ.))’ is closed to new replies.