Takes an image and converts it to HTML