Hi,

Mention relative image path in src field.

On Tue, Sep 13, 2011 at 3:55 PM, Sivaramakrishnan S
<siva...@nasoindia.com>wrote:

>
>
> hi,
>
> my code n template:
>  foreach($bookid as $id){
>   //   echo 'book image path:'.$id['Book']['front_page'];
>  $imgpath = $id['Book']['front_page'];
>   //   echo $imgpath;
>       echo '<div class="profileMini">';
>       echo '<a rel="view"
> href="ViewBook.php?view=H&bid='.$id['Book']['book_id'].'">';
>       echo '<img alt="" src="'.$id['Book']['front_page'].'" width="58"
> height="84">';
>       echo '</a><br/>';
>       echo '<a rel="view"
> href="ViewBook.php?view=H&bid='.$id['Book']['book_id'].'">';
>       echo $id['Book']['book_name'].'</a>';
>       echo '</div>';
>
>
>
> --
> 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+unsubscr...@googlegroups.com 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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to