title: uploading a image to Google Drive shared folder but can't manage to make the image appear as a jpg in google drive
body: <p>I am using this code from <a href="https://stackoverflow.com/questions/53267728/upload-file-to-google-drive-teamdrive-folder-with-pydrive/55065483#55065483?newreg=147a43b843dc464a85f74ca675475e1c">Upload File to Google-drive Teamdrive folder with PyDrive</a> from David Lloyd response, but after running his code I am unable to change the mimeType to image/jpg. I have tried add in my code like so: </p>
  
  <pre><code>parent_folder_id = 'YYYY'
  
  f = drive.CreateFile({
      'title': 'image.jpg', 'mimeType': 'image/jpg'
      'parents': [{
          'kind': 'drive#fileLink',
          'teamDriveId': team_drive_id,
          'id': parent_folder_id
      }]
  })
  f.SetContentString("path/image.jpg")
  
  f.Upload(param={'supportsTeamDrives': True})
  
  # where XXXX and YYYY are the team drive and target folder ids found from the end of the URLS when you open them in your browser.
  </code></pre>
  
  <p>but the image uploads as a PDF file in Google Drive. </p>