PHP Classes

File: dispalbum.php

Recommend this page to a friend!
  Classes of Thomas Jakober   PicasaWeb class   dispalbum.php   Download  
File: dispalbum.php
Role: Example script
Content type: text/plain
Description: Displays the content of an album
Class: PicasaWeb class
Display galleries of photos from PicasaWeb albums
Author: By
Last change: Added username and password for example Picasaweb album
Date: 14 years ago
Size: 550 bytes
 

Contents

Class file image Download
<?php

/**
 * dispalbum..php
 *
 * @version $Id$
 * @copyright 2009
 */

include "picasaweb.class.php";

$oPwa = new picasaweb();
$oPwa->login('xy@3sweb.net', 'x28herrn');
$oPwa->getPhotos($_GET['id']);


?>
<html>
    <head>
        <title>Test Picasaweb</title>
        <style type="text/css">
            #photosTn td {
                font-family: Arial;
                text-align: center;
            }

            #photosTn h3 {
                font-size: 14px;
                margin-bottom: 3px;
            }
        </style>
    </head>
    <body>
        <h2>My Photos</h2>
        <?=$oPwa->listThumbs()?>
</body>
</html>