Fixed type in img_size