BrightKnight, click on the 'quote' button for this post, and view the code used.
The url was retrieved from the flicr.com page you kept referencing. I then got the properties of the image, which included the link to the actual image. Images have to end with a bona fide graphical extension such as jpg, gif or whatever.