edit image html after uploading