deleting img tag from layout