If you rewrite the code like this, it should work. It's basically what edesignuk said.
<a href="http://photos.yahoo.com/bc/crjiejahh/lst?.dir=/Tokyo_picx&.src=ph&.order=&.view=t&.done=http%3a//photos.yahoo.com/ "><img src="http://users.lvcm.com/rajj/images.jpg"">
<BR>
My Trip To Japan</a></p>
Let me know if this is what you were looking for.