Now generates an HTML version of the image

as well as this, the resolution of the image has been improved