AstroCam is an C based daemon process for Linux and BSD to control stepmotors via SMC 800 cards. AstroCam also includes both, an PHP-based WebInterface and one based on Perl, for remote Stepengine control. You can control webcams with it.
Gallery4All is a simple and rapid dynamically generated thumbnail gallery made with PHP&MySQL. It can be easely integrated in your design and script. The pictures are structured in categories, urls can be generated with mod_rewrite