delete img and styles