I too looked at EGallery and found it difficult to work with and lacking features like theming or text for the images to describe what is in the image.
I am currently using EasyPhpAlbum Version 1.4.4 and have found it passable as a solution for Yii.
All I do is add an iframe in the view that I want to use to display my gallery, and point the iframe at the index.php file for EasyPhpAlbum.
The nice thing is that it is a single php file (index.php) that you place in a directory with your gallery images.
Example:
mkdir ${WEBROOT}/images/mygallery
cp /path/to/images/some_image.jpg ${WEBROOT}/images/mygallery/
cp index.php ${WEBROOT}/images/mygallery/
# index.php is copied from EasyPhpAlbum zip file
vim ${WEBROOT}/protected/views/site/gallery1/index.php
# Add the following lines to the view you choose
# <iframe src='/images/mygallery/index.php' width="100%" height="640px">
# <p>Your browser does not support iframes.</p>
# </iframe>
Before anyone complains, YES I realize that an IFrame is not as elegant a solution as one might desire but in the lack of a better (simple) solution… this works and appears integrated.
Besides ease of install/integration, here are some other features that I enjoy:
Comes with an admin tool to make it easy to annotate text to images
Admin tool allows you to configure themes and many aspects of how your gallery looks
Individual configs (written as configuration.php once saved) allow for password access only to gallery or admin tool
Allows IP restrictions for admin tool
No Database required
Comes with really neat prebuilt themes that change the shape and border of the images to be anything from notepad/binder borders to simple drop shadows and small single/double pixel borders.
Is a nice php solution that does not require loads of java knowledge