ID and image renumbering.