Fix image type