Reorganize images