PHP based Photo gallery built with Yii Framework