This application allow you to create a dynamic gallery which allows you to manage different catgories(Albums) and photos belonging to particular category.
This is based on yii 1.1 . so download it and place in same directory in which application is placed.
I have also added gallery.sql to import it in mysql. Login functionality is statically implemented, you can change it from /protected/components/UserIdentity.php .