Pretty Photo issue

Well, i’m using this extension, but im having problems.

When i use the “PRETTY_SINGLE” mode, the extension works fine. But when i try use the “PRETTY_GALLERY” mode, the extension don’t work.

My php code:


Yii::import('ext.jqPrettyPhoto');

                

                $options = array(

                    'slideshow' => 5000,

                    'autoplay_slideshow' => false,

                    'show_title' => true,

                    'opacity' => 0.60,

                    );

                

                jqPrettyPhoto::addPretty('.thumbs a',jqPrettyPhoto::PRETTY_GALLERY,jqPrettyPhoto::THEME_FACEBOOK, $options);



The HTML result:


        


<div id = "thumbs">

        <div class="thumbs"><a href="/emc001/fotos/03-2012/5037146.jpg"><img class="img_thumbs" src="/emc001/fotos/03-2012/5037146.jpg" alt="Teste" /></a></div>

<div class="thumbs"><a href="/emc001/fotos/03-2012/52DSC04452.JPG"><img class="img_thumbs" src="/emc001/fotos/03-2012/52DSC04452.JPG" alt="Teste" /></a></div>

<div class="thumbs"><a href="/emc001/fotos/03-2012/53Imagem1436.jpg"><img class="img_thumbs" src="/emc001/fotos/03-2012/53Imagem1436.jpg" alt="Teste" /></a></div>                </div>

                

    </div>




When i use the Gallery mode and click into a image of the gallery, the photo is opened, but not how should be with the extension. It opens out of the page.

Someone can help me?

Someone?