Removing excess images