public function get_album_list($max_album_results, $album_thumb_size)
 {
     try {
         // Create an instance of the service
         $this->service = new Zend_Gdata_Photos();
     } catch (Zend_Gdata_App_Exception $ex) {
         $this->errors[] = $ex->getMessage();
         $this->get_errors($this->errors);
     }
     try {
         $query = new Zend_Gdata_Photos_UserQuery();
     } catch (Zend_Gdata_App_Exception $ex) {
         $this->errors[] = $ex->getMessage();
         $this->get_errors($this->errors);
     }
     // Construct the query
     $query->setUser($this->user);
     $query->setThumbSize($album_thumb_size . 'c');
     $query->setMaxResults($max_album_results);
     try {
         $userFeed = $this->service->getUserFeed(null, $query);
     } catch (Zend_Gdata_App_Exception $ex) {
         $this->errors[] = $ex->getMessage();
         $this->get_errors($this->errors);
     }
     if (count($this->errors) > 0) {
         // Display any errors in error log.
         $this->get_errors($this->errors);
         return false;
     } else {
         return $userFeed;
     }
 }