Added caption of the image as title

The caption that the user has entered when uploading the picture is now
set as the title of the link