In your 3rd array var where you have specified escape=> false add your 'rel'=>'lightbox'
Mike Karthauser Brightstorm limited Tel: 07939252144 On 23 Dec 2011, at 16:13, ahmed fakher <[email protected]> wrote: > to show light-box > <a href="images/image-1.jpg" rel="lightbox"> > <img src="images/thumb-1.jpg" width="100" height="40" alt="" /> > </a> > i use this code to show images in lightbox instead the above code .. > $full = '/img/images/image-1.jpg'; > $thumb = $this->Html->image('images/thumb-1.jpg'); > echo $this->Html->link($thumb,$full,array('escape' => false)); > > already i show images (thumb and full screen) but i didn't show the > popup effect because i don't know how to add rel="light-box" to the > link > > > -- > 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
