Display image

I’m lost… trying to do very simple thing - display an image on page.

Using

<?php echo CHtml::image(Yii::app()->request->baseUrl.’\images\image.jpg’); ?>

to display file image.jpg from webapproot\images\ folder

and it does not display an image!

Please help!

best regards

Tim

Hi,

replace requesrt

with

request

:rolleyes:

that’s the typo unfortunately… still not work with correct writing (((

Evil… files with images were encrypted!!! Removing encryption solved the problem.