Delivering the best Add-Ons in more than 37 languages.

中文(简体), English, हिन्दी/हिंदी, Español/Castellano, العربية, Русский язык, Français, 中文 (台灣), বাংলা, Bahasa Indonesia, اردو, Português, Deutsch, Bahasa Melayu (بهاس ملايو‎), 日本語 (にほんご), فارسی, Italiano, తెలుగు, Türkçe, ગુજરાતી, Język polski/polszczyzna, Tiếng Việt, ಕನ್ನಡ, Українська мова, ไทย
PHP Scripts / Images and Media

Easy Gallery

— Add-On to

Subscribe to our feed to stay up to date!

New! Follow us as you want it!

Easy Gallery - CodeCanyon Item for Sale


Ad: Bluehost hosting

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:
Shows the basic use of this system

Demo 2:
Shows how the gallery could be integrated into an existing design.


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

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.

Other components in this categoryAll components of this author
CommentsFrequently asked questions and answers


15 May 10

Last Update:

Compatible Browsers:
IE6, IE7, IE8, Opera

Files Included:

Software Version:
PHP 5.x


eCommerce, All Items, class, easy, gallery, image, system