Change content type to jpeg