Friday, December 31, 2010

Re: a small issue

<?php
echo $this->Html->link($this->Html-
>image('logout.png',array('alt'=>'logout'),array('escape' => false))
,array('controller'=>'users','action'=>'logout'));
?>

i did this.... still getting the same result <img src="/hr/img/
logout.png" alt="logout" />

i tried.
hr is my project folder. i created a folder img in hr folder and
dropped the image there.... but the image is not showing...

$this->Html->css('hr'); this is working ok then why is $this->Html-
>image('image_nam.png') not working....
i am working with the default lay out... does that make any
difference?

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: