change to image type