Location: PHPKode > scripts > Gmail Gallery > gmail-gallery/example.php
<?php
require_once('gimggallery.class.php');
require_once('config.inc.php');

$obj_GImgGallery = new GImgGallery($str_gmail_account, $str_gmail_password,  $str_gmail_timezone);

$arr_labels = $obj_GImgGallery->getAllLabels();

$arr_gallery = $obj_GImgGallery->getGallery($arr_labels[1]);

echo "<pre>";
var_dump($arr_gallery);
echo "</pre>";
?>
Return current item: Gmail Gallery