Here you'll find some OS-independant useful scripts, most of them I wrote.
My php image gallery Mono or multipage layout with two different ways of presenting thumbnails, using floating divs. You can have linked urls and descriptions as well for the gallery as for every picture. Data is stored in flat files. Version 5.1, 06/25/2006
The web interface of my gallery, for creating/editing pictures and data file. Images can be deleted, rotated, and their order changed. In php. Version 3.4, 07/17/2006
PHP sophisticated image gallery Multi-page image gallery, using html tables for layout. Author's website