habatone
(Derekhabington)
March 23, 2012, 7:09am
1
echo $person_in_the_room->username.' '.CHtml::image(Yii::app()->request->baseUrl.'\images\tick.jpg').'<br/>';
I here’s the line of code I’m using, found it in the reference material. Any idea why the image doesn’t show in firefox or opera, but does in chrome and safari
redguy
(Maciej Lizewski)
March 23, 2012, 7:37am
2
maybe it is because of wrong slashes in your generated url… it should be ‘/’, not ‘\’
habatone
(Derekhabington)
March 23, 2012, 7:41am
3
That made no difference, you see anything else it might be?
habatone
(Derekhabington)
March 23, 2012, 8:09am
4
Used a different image, a gif, that worked.