<?php
/**
* pwaphoto.php
*
* @version $Id$
* @copyright 2009
*/
include "picasaweb.class.php";
$oPwa = new picasaweb();
$oPwa->login($_GET['username'], $_GET['password']);
$oPwa->getPhoto($_GET['albumid'], $_GET['photoid']);
$oImage = imagecreatefromjpeg($oPwa->aPhoto['url']);
header('Content-type: image/jpeg');
imagejpeg($oImage);
?>
|