handles changing resolution

(by deleting any image not at the resolution of the first image)