Easy Gallery

CodeCanyon Easy Gallery 103404
Script \ PHP Script \ Images and Media
Gallery \ Images \ Create \ Jacekk \ Example \ Integrated \ Setimagedir



PHP Script - Easy Gallery 103404 by betterphp @ CodeCanyon

Script \ PHP Script \ Images and Media

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="http://codecanyon.net/item/easy-gallery/#" onclick="something(''.$image['full'].'');"><img src="http://codecanyon.net/item/easy-gallery//'.$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.

Support

If there are any problems with this item, the best place to ask is in the forum as I check that at least once a day.

http://betterphp.co.uk/board/viewforum.php?f=29

Last Update: N/A; Compatible Browsers: IE6, IE7, IE8, Opera; Files Included: PHP; Software Version: PHP 5.x.

Advanced Link Tracker; Advanced Directory Indexing; Session Management; php.ini Compatibility; Advanced Error Logging; Data Export Helper; Easy Webstats.

Keywords: class, easy, gallery, image, system.