Added support for 'image/jpeg' type.