Skip to main content

Using Images In Your Posts

One of the easiest ways to make your blog more user friendly is to add images - diagrams, illustrations, even photographs. But sometimes that's also one of the hardest - how do I start?

Well there is nothing special about an image. It's just a link to a file, where the file contains a picture or whatever.

How you include the link - embedded or not, makes the difference. An embedded link lets you view the image, directly, in the post. An external link lets you view the image, separately. Videos, aka moving photos, can be embedded in the blog posts.

And you do need to consider what you're going to do with the image. Replacing the default text title / description in the blog header will be a little bit of work. Blogger has a Configure Header widget, but it's not very replete with options yet.

Now having seen the possibilities, and the possibilities are practically endless, you need to be aware of the possible complications and limitations.

If you feature pictures in your posts, make sure that the pictures will fit. If in doubt, upload them with Small selected - let your readers click on the pictures to see the full size, and arrange them, within the available space, using tables. And please, whatever you do, don't embed full size pictures in the post.
  • If you host the photos on Blogger, use the two size images code, as created by the upload.
  • If you host the pictures on a third party service, you'll have to upload reduced size photos yourself.


If you have a photograph sitting on your computer, you can simply use Blogger, and upload the photograph. Once the photograph is uploaded, you can do whatever you like with it. Or you can use any third party hosting service. It's up to you to decide.

You can use Blogger images just like images that you upload to any online hosting service. If you have an image that you'll only be showing in one post, you can upload directly into that post. Or you can upload to any post, in any blog, and use that image in any other post, or any other blog, or the template in any blog, at your convenience.

This could be a key in working around some photo upload problems.
  • There is a limit on volume of uploaded images for each blog. It's possible that the limit is being incorrectly identified, in some cases.
  • Some uploading problems have been seen when attempting to upload to posts previously published. This suggests that post content may affect uploading.
If you like lots of images, and you have exceeded the limit in your favourite blog, or if you just want more images in this post, don't despair. Setup a new static page, and upload images there. If you can't upload to any post in the current blog, you may find it possible to upload images to a different blog. Whatever you do, you can still publish your images in this post.

After you upload any images, in Edit HTML, find and copy the HTML for any desired photo as uploaded. Paste the HTML, as copied, into the Edit HTML window for any other post, in any blog of your choice. If you don't want any post, containing only uploaded images, to be visible, simply save that page as draft.

If you upload a lot of images into your posts, you'll want to plan and execute the uploads carefully, to save effort. The current Post Editor has a few idiosyncrasies as to how it uploads images.

The nice thing about Blogger hosting images is when you upload an image, a copy of the image, properly sized to fit in the post, is created. The upload process creates code that embeds the resized image ("thumbnail") into the post, with a hyperlink to the original image. Your readers can click on the image in the post, and see the original image, in full size.

First, upload the image to Blogger, or to any alternate photo hosting service.

  1. Create a new post. I called mine "Images", you can use whatever name pleases you. Follow me, and see why.
  2. Upload a picture. Pick the proper picture float alignment when you upload. I use "float:left" for all of mine, since my sidebar is on the right. If your sidebar is on the left, "float:right" will be more useful.
  3. If the picture uploaded successfully, continue. If you are currently being victimised by the intermittent photo uploading problem, and you had no success this time, start over with Step 1.
  4. From the post edit window, select the "Edit HTML" tab. Find the code for your uploaded picture. Here's one of mine.
    <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/
    5304/92/1600/DSCF0048%201280.1.jpg"><img style="float:left; margin:0 0 10px 10px;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/
    5304/92/320/DSCF0048%201280.1.jpg" border="0" alt="" /></a>

  5. Select and copy the code (for instance the example above).
  6. Save this post as Draft, so the post won't show up in the blog.


Now, you can add an image URL to your post or template.

  1. Look at the code, created by the image upload, which you just copied.
    <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/
    5304/92/1600/DSCF0048%201280.1.jpg"><img style="float:left; margin:0 0 10px 10px;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/
    5304/92/320/DSCF0048%201280.1.jpg" border="0" alt="" /></a>

  2. Here's the URL of the thumbnail copy of the image.
    http://photos1.blogger.com/blogger/
    5304/92/320/DSCF0048%201280.1.jpg

  3. Here's the URL of the full size copy of the image.
    http://photos1.blogger.com/blogger/
    5304/92/1600/DSCF0048%201280.1.jpg

  4. Here's the thumbnail image, unclickable.
    <img style="float:left; margin:0 0 10px 10px;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/
    5304/92/320/DSCF0048%201280.1.jpg" border="0" alt="" />

  5. Obviously, the URL for your image will differ. Take either URL, and add it to your post or template, as you like.


Or, add the image, as a thumbnail that's clickable to show the full sized photo, to your post.

  1. Edit the post where you wish the picture to be viewed. From the post edit window, select the "Edit HTML" tab. Paste the copied code, into the location that pleases you.
  2. You now have a solitary photo, floating to the left, uncaptioned.





  3. Add some text, here I show some beside the photo, and some below the photo.
    <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/
    5304/92/1600/DSCF0048%201280.1.jpg"><img style="float:left; margin:0 0 10px 10px;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/
    5304/92/320/DSCF0048%201280.1.jpg" border="0" alt="" /></a>
    <br />
    Chuck's <a href="http://nitecruzrrecipes.blogspot.com/
    2005/07/cabbage-shrimp-salad.html">Cabbage / Shrimp Salad</a>
    <br clear="left">
    And the best thing is, this is totally healthy (if you use low carb Cannola oil).
    <br>

  4. You now have a solitary photo, floating to the left, but with some text captioning it.





    Chuck's Cabbage / Shrimp Salad


    And the best thing is, this is totally healthy (if you use low carb Cannola oil).




Or, add the image as a button, linking to another post.




Check out my other recipes too (Just click on the picture)!



<a href="http://nitecruzrrecipes.blogspot.com/2005/07/cabbage-shrimp-salad.html"><img style="border-width:0px; float:left; margin:0 10px 10px 20px;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/5304/92/320/DSCF0048%201280.1.jpg" border="0" alt="" /></a>
<br />
Check out my other recipes too (Just click on the picture)!
<br clear="left">



Or maybe you just want the full size version of the photo to open in a new window.



If you're in any way curious about how I setup this page, and showed the HTML so neatly, see my tutorial on anchors and HTML. And you can always examine the code for any specific page element, if you're using Firefox. Or check out the W3 Schools tutorials, that tell you all about each HTML tag, as used above.




You don't have to host your photos on Blogger. There are any number of free hosting services, such as Photobucket, Picasa, and Webshots, that will allow you to upload any number of pictures to their server. Peter, with Blogger Tips and Tricks: Comparison between hosting images with Blogger and photobucket, provides an interesting analysis of Photobucket.

Comments

Daniel Yiek said…
Hi
In your example, pls show where to put the html code below for viewing in new window when people click to see original large image? This is to avoid people having to click "Back" button.

target="_blank"
Nitecruzr said…
Thanks for the suggestion, Daniel.
Opening A New Window
David Lansing said…
Using the new Google 2 templates, how do you get a profile into the Profile section on the right? I can't find anything in the template that allows photos to be uploaded and you can't drag and drop. So what's the secret?
Nitecruzr said…
David,

The Profile is a page element, that displays portions of your Google profile. It's not configurable.

You setup your Google account, and the profile for that. Then you add a Profile page element. And you're right, the photo has to be hosted already. You'll probably host it on Blogger, using the instructions above.
MunYee said…
Hi there. I was just wondering whether is there any way that I can remove the embedded link of the images I upload?
I don't want to have a clickable picture in my entries.

Thanks in advance.
Nitecruzr said…
MunYee,

Just remove the link portion of the uploaded image code, and you end up with an embedded picture.
Tanni said…
This rocks! Thanks so much for breaking down the html for me. Bigger pictures are the way to go!
polkadot pigs said…
hello,

I have added the target="_blank" and it worked perfectly. The issue now is that my picture doesn't fit to the new window and my readers got to scroll. Could you adivse if there's a way to make image display to fit the new window?

Thanks!
Nitecruzr said…
Hey Pigs,

This sounds like a problem that comes and goes with Blogger and pictures. IMHO, you'll be better off starting a new thread in Google Blogger Help, and asking this question.
Joshua Finsel said…
Thank you very much. For some reason, blogger did not create my image links automatically. Instead of being able to click and open an image for large viewing, my images were just static. Your post helped me to go in and fix it by hand.
Sam said…
Hello,

I've been using the Picasa desktop application to select and upload pictures to my blog. In many cases, however, those pictures are already uploaded on my Picasa web space. I've seen some discussion of trying to cut and paste Picasa Web URLS, but it doesn't look like it works. I guess I'm surprised there isn't an easy way to select images from your Picasa web space to link to your blog.

-Sam
Lady Victorian said…
Thanks for the image lesson. I can now put photos throughout a blog post.

Popular posts from this blog

Adding A Link To Your Blog Post

Occasionally, you see a very odd, cryptic complaint I just added a link in my blog, but the link vanished! No, it wasn't your imagination.

Embedded Comments And Main Page View

The option to display comments, embedded below the post, was made a blog option relatively recently. This was a long requested feature - and many bloggers added it to their blogs, as soon as the option was presented to us. Some blog owners like this feature so much, that they request it to be visible when the blog is opened, in main page view. I would like all comments, and the comment form, to be shown underneath the relevant post, automatically, for everyone to read without clicking on the number of comments link. And this is not how embedded comments work.

What's The URL Of My Blog?

We see the plea for help, periodically I need the URL of my blog, so I can give it to my friends. Help! Who's buried in Grant's Tomb, after all? No Chuck, be polite. OK, OK. The title of this blog is "The Real Blogger Status", and the title of this post is "What's The URL Of My Blog?".