Fix image_size use