     <?php require_once 'Zend/Loader.php';
Zend_Loader::loadClass('Zend_Gdata_Photos');
Zend_Loader::loadClass('Zend_Gdata_ClientLogin');
Zend_Loader::loadClass('Zend_Gdata_AuthSub'); //$serviceName =
Zend_Gdata_Photos::AUTH_SERVICE_NAME; //$user = "username";
//$pass = "password"; //$client =
Zend_Gdata_ClientLogin::getHttpClient($user,$pass,$serviceName);
$gp = new Zend_Gdata_Photos(); try { $query =
$gp->newAlbumQuery(); $query->setUser("stephliu");
$query->setAlbumId( "5257496817114515249" ); $albumFeed =
$gp->getAlbumFeed($query); foreach ($albumFeed as $albumEntry) {
if ($albumEntry->getMediaGroup()->getContent() != null){ $url =
$albumEntry->getMediaGroup()->getContent(); $url =
$url[0]->getUrl(); print $url . "\n"; } } } catch
(Zend_Gdata_App_HttpException $e) { echo "Error: " .
$e->getMessage() . " \n"; } echo "Request: \n"; } catch
(Zend_Gdata_App_Exception $e) { echo "Error: " .
$e->getMessage() . " \n"; } catch( Zend_Uri_Exception $e){ echo
$e; } echo memory_get_peak_usage(); ?>      Reclassified