MS-603: consistent definition for img size