parameters: (self, album_or_uri, title, summary, filename_or_handle,
        content_type='image/jpeg', keywords=None)
return_statement: return self.InsertPhoto(album_or_uri, metadata, filename_or_handle,
        content_type)
docstring: Add a photo without constructing a PhotoEntry.
  
      Needs authentication, see self.ClientLogin()
  
      Arguments:
      album_or_uri: AlbumFeed or uri of the album where the photo should go
      title: Photo title
      summary: Photo summary / description
      filename_or_handle: A file-like object or file name where the image/video
        will be read from
      content_type (optional): Internet media type (a.k.a. mime type) of
        media object. Currently Google Photos supports these types:
         o image/bmp
         o image/gif
         o image/jpeg
         o image/png
         
        Images will be converted to jpeg on upload. Defaults to `image/jpeg'
      keywords (optional): a 1) comma separated string or 2) a python list() of
        keywords (a.k.a. tags) to add to the image.
        E.g. 1) `dog, vacation, happy' 2) ['dog', 'happy', 'vacation']
      
      Returns:
      The newly created gdata.photos.PhotoEntry or GooglePhotosException on errors
  
      See:
      http://code.google.com/apis/picasaweb/gdata.html#Add_Album_Manual_Installed
      [1]: http://en.wikipedia.org/wiki/Unix_epoch
docstring_summary: Add a photo without constructing a PhotoEntry.
docstring_tokens: Add a photo without constructing a PhotoEntry .
function: def InsertPhotoSimple(self, album_or_uri, title, summary, filename_or_handle,
        content_type='image/jpeg', keywords=None):
      """Add a photo without constructing a PhotoEntry.
  
      Needs authentication, see self.ClientLogin()
  
      Arguments:
      album_or_uri: AlbumFeed or uri of the album where the photo should go
      title: Photo title
      summary: Photo summary / description
      filename_or_handle: A file-like object or file name where the image/video
        will be read from
      content_type (optional): Internet media type (a.k.a. mime type) of
        media object. Currently Google Photos supports these types:
         o image/bmp
         o image/gif
         o image/jpeg
         o image/png
         
        Images will be converted to jpeg on upload. Defaults to `image/jpeg'
      keywords (optional): a 1) comma separated string or 2) a python list() of
        keywords (a.k.a. tags) to add to the image.
        E.g. 1) `dog, vacation, happy' 2) ['dog', 'happy', 'vacation']
      
      Returns:
      The newly created gdata.photos.PhotoEntry or GooglePhotosException on errors
  
      See:
      http://code.google.com/apis/picasaweb/gdata.html#Add_Album_Manual_Installed
      [1]: http://en.wikipedia.org/wiki/Unix_epoch
      """
      
      metadata = gdata.photos.PhotoEntry()
      metadata.title=atom.Title(text=title)
      metadata.summary = atom.Summary(text=summary, summary_type='text')
      if keywords is not None:
        if isinstance(keywords, list):
          keywords = ','.join(keywords)
        metadata.media.keywords = gdata.media.Keywords(text=keywords)
      return self.InsertPhoto(album_or_uri, metadata, filename_or_handle,
        content_type)
function_tokens: def InsertPhotoSimple ( self , album_or_uri , title , summary , filename_or_handle , content_type = 'image/jpeg' , keywords = None ) : metadata = gdata . photos . PhotoEntry ( ) metadata . title = atom . Title ( text = title ) metadata . summary = atom . Summary ( text = summary , summary_type = 'text' ) if keywords is not None : if isinstance ( keywords , list ) : keywords = ',' . join ( keywords ) metadata . media . keywords = gdata . media . Keywords ( text = keywords ) return self . InsertPhoto ( album_or_uri , metadata , filename_or_handle , content_type )