0 down vote favorite share [fb] share [tw]
i use light box but something wrong i follow all steps in this link http://www.huddletogether.com/projects/lightbox2/#download instead of use this code <a href="images/image-1.jpg" rel="lightbox" title="my caption">image #1</a> i use this code for view $thumb = $this->Html->image('images/thumb-1.jpg'); $full = $this->Html->image('/images/image-1.jpg', array('rel' => 'lightbox')); echo $this->Html->link($thumb,$full, array('escape' => false)); i show the thumb-1.jpg image but when i click on it i see this error Missing Method in ImagesController Error: The action <img src=" is not defined in controller ImagesController Error: Create ImagesController::<img src="() in file: app\controllers \images_controller.php. <?php class ImagesController extends AppController { var $name = 'Images'; function <img src="() { } } ?> Notice: If you want to customize this error message, create app\views \errors\missing_action.ctp -- 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