show image from layout

2009-01-03 Thread piyushsharmajec
How can one show image either logo or any other from layout file as this file is present in webroot folder so there is confution over image address. Thanks Piyush -- View this message in context: http://www.nabble.com/show-image-from-layout-tp21263881p21263881.html Sent from the CakePHP

Re: show image from layout

2009-01-03 Thread brian
On Sat, Jan 3, 2009 at 6:07 AM, piyushsharmajec piyushsharma...@gmail.com wrote: How can one show image either logo or any other from layout file as this file is present in webroot folder so there is confution over image address. Thanks It does not matter that the layout file is stored in

Re: show image from layout

2009-01-03 Thread Mike Bernat
You can also use the image method from the html helper. echo $html-image('my_logo.jpg'); On Sat, Jan 3, 2009 at 12:51 PM, brian bally.z...@gmail.com wrote: On Sat, Jan 3, 2009 at 6:07 AM, piyushsharmajec piyushsharma...@gmail.com wrote: How can one show image either logo or any other

Re: show image from layout

2009-01-03 Thread brian
On Sat, Jan 3, 2009 at 1:21 PM, Mike Bernat bern...@gmail.com wrote: You can also use the image method from the html helper. echo $html-image('my_logo.jpg'); Yes, I should have mentioned that. I was just trying to clarify the paths issue. I suspect the OP is confused by the location of the