Hello There,
you can use html image tag for this, and if you want to do this with cakephp
syntax,
then you will have to include HTML helper in the controller class. like
var $helpers = array('Html');
and then in your layout.ctp file you can put following code.
$html->image('logo.png', array('width' => 500, 'height' => 300));
On Mon, Apr 11, 2011 at 4:21 PM, varai <[email protected]> wrote:
> Hi
>
> I'm new to cakephp and I'm trying to create my first project with
> cakephp. I have already tried out the blog sample project.
>
> Does anyone know on where and how to place the logo image in
> layout.ctp?
>
> I have already put logo.png in /webroot/img.
>
> Any help is much appreciated.
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php