Easy Gallery

by wide_load

With this class you can easily create a gallery of images and thumbnails for your website.

Key Features:

  • Easy to use set of functions
  • Gives you the ability to create a image gallery with 3 lines of code
  • Allows images to be sorted by name, date, or size ascending or descending
  • Well documented
  • Thumbnails automatically generated as needed
  • Can be integrated into any current page
  • No specific knowledge of PHP require
  • Light weight


Usage Example 1:
<?php include('easy_gallery/inc.php');

$gallery = new gallery;
$gallery?>setimagedir('images');
$gallery->create();

?>

Usage Example 2:
<?php include('easy_gallery/inc.php');

$gallery = new gallery;
$gallery?>setimagedir('images');
$images = $gallery->create(2);

foreach ($images as $image){
    echo '<a href="#" onclick="something(\''.$image['full'].'\');"><img src="'.$image['thumb'].'" /></a>';
}

?>


Demo 1: http://jacekk.co.uk/code/easy_gallery/example1.php
Shows the basic use of this system


Demo 2: http://jacekk.co.uk/code/easy_gallery/example2.php
Shows how the gallery could be integrated into an existing design.


Documentation: http://jacekk.co.uk/code/easy_gallery/readme.html

NOTE : you need the PHP GD module installed for thumbnail generation to work.

$10

Prepaid customers
pay just $8 - how? Prepay Your Account With our deposit system not only will purchasing be much faster, but we’ll also take $2 off the price! Click Here to Deposit Price

You must sign in or sign up to purchase this item.

12345 ( 4 ratings )

Purchase 9 purchases

File Types Included
PHP
Item Attributes
Created 15 May 10
PHP Version 5.x
MySQL Version N/A
PHP Framework N/A
Compatible Browsers Chrome 4, Chrome 5, FireFox 2, FireFox 3, IE6, IE7, IE8, Opera, Safari
PHP Files Included PHP