Saturday, December 24, 2011

Re: how to put image variable between image helper quotes

You need
$thumb = $this->Html->image('images/'.$image['Image']
['img_file'],array('width'=>"60", 'height'=>"40"));
echo $thumb;
or just
echo $this->Html->image('images/'.$image['Image']
['img_file'],array('width'=>"60", 'height'=>"40"));

On Dec 24, 12:02 pm, Tilen Majerle <tilen.maje...@gmail.com> wrote:
> print  $this->Html->image('images/'.$image['Image']
> ['img_file'],array('width'=>"60", 'height'=>"40"));
> --
> Lep pozdrav, Tilen Majerlehttp://majerle.eu
>
> 2011/12/24 ahmed fakher <spcial...@gmail.com>
>
>
>
>
>
>
>
> > $this->Html->image('images/'.$image['Image']
> > ['img_file'],array('width'=>"60", 'height'=>"40"));

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate