Search code examples
jqueryfancyboxgalleria

Is there any option to Display the galleria gallery inside the fancybox?


I am using the fancybox.I want to display the image gallery using the galleria plugin inside the fancy box similar to this

jQuery(".pika-stage img").live('click',function(){
            var product_id = <?php echo $Product->id;?>;
            jQuery.ajax({
                url: "<?php echo $currenturl;?>",
                type: "POST",
                data:{tasksubmit:"enlarge",productid:product_id},
                success: function(data){
                    var gal_img ='<div id= gallery>'+data+'</div>';
                    jQuery.fancybox({
                        'content': gal_img
                     });
                   }

                })
            });

Solution

  • Finally i got the solution for displaying the gallery inside the light box. I am using the Pretty photo plugin for displaying the gallery in the light box. Demo for Preety Photo