Change extension of image link