widget for showing image gallery


Which Yii widget can be used for showing image gallery. I want to list images in a view. I tried using a for loop in the view for listing the images. The problem for using loop is that I want to group the images into galleries. So I have to use nested loops. I can get the result set for the galleries from the database and pass it to the view file from controllers action. But again I have to loop through the images and I cannot get the result set for the images for the galleries from the view file. Please help.

Thanks in advance.

there are tons try the link


Is there any widget within the framework? I don’t want to use an extension.

unfortunately no. you have to use a ext