Reorganize the images.