Hi,

The Html->image helper in the layoutfile outputs an img tag with the
path ".\img\image.gif". The browser can only find it when I am only
one level deep, i.e. "http://localhost/app/controller";. When I add a
trailing slash, the images are broken. And when I visit an action,
like "http://localhost/app/controller/action";, it's also broken. The
browser looks for "http://localhost/app/controllers/img/image.gif";

code-tag:
$html->image("pijl_onder.gif", array("alt" => "Move Down",'url' =>
array('controller' => 'links', 'action' => 'moveDown', $val['Link']
['id'],1) ))

Is this a bug?

--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to