made image JS create a link to the image