Home | ExtJs Website | ExtJs Official Examples | ExtJs Forum | Other ExtJs Links

A Simple Image gallery.

ExtJs can assist you to do some really cool things, here's one that really does have an immediate use as a mini gallery for a simple site. We are going to fetch some thumbnails from disc and then show a bigger version of that image inside a div with an animation effect.

However in a twist to the plot we are going to use AJAX to pull the images in and then offer the user an option to select a different album and load that in instead - again using ExtJs AJAX calls.

Worth a mention...

We have used a page specific CSS file for this example just in case you want to copy it, theres also a PHP script which does the server side stuff.

Please note that to save on a heap of GD learning - we used the excellent class.upload class by Colin Verot

 

We used...


Try it out!


The Javascript Code

The PHP Code

The CSS Code