in the first example i see the image

 $thumb = $this->Html->image('images/image-1.jpg',array('width'=>"60",
'height'=>"40"));

in the second example  i fetch image name from database table..but i
don't know how to put this variable with the right way..something
wrong in the variable place

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


notice
 $image['Image']['img_file'] = image-1.jpg

-- 
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

Reply via email to