PHP Classes

File: example.php

Recommend this page to a friend!
  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: 15 years ago
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();
?>