I have a table with images column I would like to view in a popup while click in the image link.
If anyone help me to do this will be helpful guys.
Thanks Sally.
I have a table with images column I would like to view in a popup while click in the image link.
If anyone help me to do this will be helpful guys.
Thanks Sally.
Hi Sally,
Download the widget from here -> http://www.yiiframework.com/extension/fancybox
Add this code anywhere at your view file
$this->widget('application.extensions.fancybox.EFancyBox', array('target' => 'img[rel=gallery]',));
[size=2]
[/size]
<img src="YOUR_IMAGE_URL" rel="gallery" alt="YOUR_IMAGE_DES">
You are done!
Cheers! Happy Coding.
Hope this will help you