adds image url to the href