convert from images to styleable HTML