Record correct sizes of images