I think we should keep the original type. Is there any specific reason to force the type to image/jpeg ?