Okay, I'll talk you through it. Firstly you'll need the link for the picture (also known as the URL)
eg:
<a class="postlink" href="http://cms.442.haymarketnetwork.com/contentimages/blog/TheNoiseFromBrazil/Robinho_City.jpg" onclick="window.open(this.href);return...