id:#1070

comment: Detect image type and convert it to jpg to allow users to send any image type.