add absolute property to image tag