Fix image resolution.