01.
$imgUrl1
= Yii::app()->baseUrl.
'/images/structure_pic01.jpg'
;
02.
$image1
= CHtml::image(
$imgUrl1
,
'test'
,
array
(
'width'
=>
'100%'
));
03.
echo
CHtml::link(
$image1
,
$imgUrl1
,
array
(
'id'
=>
'imgShow'
));
04.
$this
->widget(
'ext.fancybox.fancybox.EFancyBox'
,
array
(
05.
'target'
=>
'#imgShow'
,
06.
'config'
=>
array
(
07.
08.
09.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
)
20.
));