cake-php@googlegroups.com
[Top] [All Lists]

Re: a small issue

Subject: Re: a small issue
From: poor-grammar
Date: Fri, 31 Dec 2010 01:57:46 -0800 PST
<?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@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

<Prev in Thread] Current Thread [Next in Thread>