Added media_type to redactor image upload to media_object