Just drop it into your directory with files or images and it will create thumbnails for your files and list everything in a nice eye-pleasing manner.

You can change some options like sorting and thumbnail size by editing the file itself. By changing css, and html you can give it any look you want.
Note: Ofcourse your server must support php. And we use GD or ImageMagick for thumbnails, one of which you should have enabled.
Did we mention it creates thumbnails for images too?