Login   Register  
PHP Classes
elePHPant
Icontem

File: demo.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Alf-Red  >  Thumbnails  >  demo.php  >  Download  
File: demo.php
Role: Example script
Content type: text/plain
Description: demo
Class: Thumbnails
Display thumbnails of image files from a directory
Author: By
Last change:
Date: 9 years ago
Size: 358 bytes
 

Contents

Class file image Download
<?php

include("./class.image.php") ;


$image = new AffichImage() ;

//define the width of the thumbnail
$lon 100 ;
//define the height of the thumbnail
$lar 100 ;
//define the number of thumbnails per line
$lin 10 ;
//define the directory where to look for images
$dir "./img" ;


$image->showDir($dir, -1$lar$lon$lin);

?>