fallback image type to JPEG