You need to select query to fetch the image path,

Example:
$path = $this->Image->find(array('id'=>$id); Where $id is the primary key
value.
 and display using
<?php echo  $html->image($path['Image']['imagepath']); ?>



On Mon, Sep 12, 2011 at 12:10 PM, Sivaramakrishnan S
<[email protected]>wrote:

> hi,
>  I need to display image which is in the database,i save image path
> in that field.how to fetch the image from the image directory path and
> display in the index page of the application..
>
> Thanks in advance
> shiva,
>
> --
> 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

Reply via email to