PHP Classes

File: imGallery/example.php

Recommend this page to a friend!
  Classes of Arkadiusz Malinski  >  imGallery  >  imGallery/example.php  >  Download  
File: imGallery/example.php
Role: Example script
Content type: text/plain
Description: example
Class: imGallery
Show galleries of images stored on the server
Author: By
Last change: 1
Date: 15 years ago
Size: 812 bytes


Class file image Download
try {
$galConfig = new imGalleryConfig();
$galConfig->addGalleryTitle("test1", "First gallery Title");
$galConfig->addGalleryFullPath("test1", "testgal/mecz/duze/");
$galConfig->addGalleryThumbsPath("test1", "testgal/mecz/male/");

$galConfig->addGalleryTitle("test2", "Second Gallery Tile");
$galConfig->addGalleryFullPath("test2", "testgal/sprzatanie/duze/");
$galConfig->addGalleryThumbsPath("test2", "testgal/sprzatanie/male/");
$galeria = new imGallery($galConfig, XHTML_GALLERY);

    } catch (
Exception $r) {
"error: ".$r->getMessage();

For more information send a message to info at phpclasses dot org.