Reorganizes images into subdirectory.