changed images html to txt