Adding Images to Flickr Comments

Several people have asked me how to add pictures to comments in Flickr. This post will attempt to answer that question and provide a resource for making it even simpler than writing the requisite HTML.

First, the picture you intend to insert must be somewhere on the World Wide Web. It is easiest if the picture is already in Flickr. Otherwise, you can simply type the following HTML code in your comment where you want the picture.

<img src=”http://your.pictures.url.jpg” />

This is the simplest code. The only required attribute of the image tag is src, which is the location of the image. If you would like to make the picture a hyperlink simply wrap it in an anchor tag.

<a href=”http://the.location.the.picture.should.point”>
<img src=”http://your.pictures.url.jpg” />
</a>

The only required attribute of the anchor tag is href, which is the location the browser will take the user when the image is clicked.

This is all fairly simple once you get the hang of it. There is, however, a much easier way: use an image already in Flickr.

If you don’t use Firefox or Greasemonkey, start. If you’re not sure why then read my earlier post, Firefox’s Extensibility, extolling the benefits of each. Next, install Flickr Photo Page Enhancer 2, a Greasemonkey user-script. This handy little script adds several links to Flickr’s right sidebar. When one of the “Quicklink” sizes is clicked a small dialogue opens with all the HTML pre-composed. All you have to do now is copy and paste into your comment. I usually copy only the text enclosed in, and including, the anchor tag.

You can also click the “All Sizes” button above your photos. This will give you the HTML and photo’s URL for the size you choose. The Greasemonkey script mentioned above is much simpler in that it requires less clicks. It also works for every picture, not just your own.

If you have any questions please leave a comment.

2 Comment

  1. Why is the sky blue?

  2. From Wiki Answers

    The earth’s atmosphere is filled with minute dust particles that act like a filter, scattering the light rays. The rays of light with the longer wavelengths, such as reds and yellows, tend to travel more easily through the atmosphere, while the rays with the shorter wavelengths, like blues and indigos, tend to be dispersed more easily. These more easily dispersed shorter light rays are what give the sky its blue color.

    Incidentally, red skies at sunrise and sunset are caused by the same phenomenon. When the light hits the Earth at an angle it has more of the atmosphere to go through; this increases the filtering effect and that is why you see a red sky.

Leave a Reply