Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of HunterHeads  >  phpPhotoGallery  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example
Class: phpPhotoGallery
Display a gallery of pictures using fade effects
Author: By
Last change: How to use last released class.
Date: 2008-05-25 12:57
Size: 364 bytes
 

Contents

Class file image Download
<?php
    
require_once("phpPhotoGallery.php");

    
$gal = new phpPhotoGallery(true,0,200,1,50);

    
$gal->addDirPhotoNames("image","WOW Ferrari!");
    
$gal->addDirPhotoNames("image2/a");
    
$gal->addDirPhotoNames("image2");

    
//$gal->setShadowEffect(false);
    //$gal->setShowCaption(false);

    
$gal->showGallery();
    
$gal->showInTable(3);
    
$gal->printSource();
?>