Image path

i have image at directory :

and i want to display in about page ?

this my code to get image :

but not image display.


Take a look at the page source code and check the actual image source. Then try to load that image directly into a browser window/tab

Try simple

<img src="/images/profile.jpg">


but can not show pictures

Try this

<img src="<?php echo Yii::app()->request->baseUrl.'/images/profile.jpg'?>" width="94" height="92" />

Thank you brother.It works !