Hello, please I'm a yii newbie and I'm willing to load a picture to my browser unsuccessfully. I specified the path to the picture, this is the piece of code I'm using for that.
<?php
$path = Yii::app()->request->baseUrl."/"."images"."/"."pic1.jpg";
echo CHtml::image( dirname($path), "image not found", array('width'=>'100px','height'=>'100px','title'=>'image title here') );
?>
<?php
$path = Yii::app()->request->baseUrl."/"."images"."/"."pic1.jpg";
echo CHtml::image( dirname($path), "image not found", array('width'=>'100px','height'=>'100px','title'=>'image title here') );
?>