transform picture to link