ewideimage problem

Hello to all friends

I started my new job and have a huge problem with my yii

I want my site I use for the great pictures I decided to make a controller that address image

Remember it does not resize and delivery frees and will only display


public function actionCity(){

		$params['image'] = $_REQUEST['img'];


		WideImage::load('......../images/cphoto/'.$params['image'])->resize(360, 268)->output('jpg');


View Code

for($C1=0; $C1 < count( $photos); $C1++){


	$IMGFILE = Yii::app()->getBaseUrl(true).'/image/city-'.$photos[$C1]['image'];


	echo '


        <img alt="'.$photos[$C1]['tag'].'" src="'.$IMGFILE.'">