help with lightbox slideshow function

26 views
Skip to first unread message

David Montoro

unread,
May 1, 2014, 7:07:24 AM5/1/14
to trees...@googlegroups.com

Hi all !

treesaver.js is great !
I'm working on a magazine and I succeed formating it easily with text and images.
But I can't get the lightbox class to work correctly for a slideshow.

I took the Alice's template and tried to read the img folder.
The result is a lightbox window opened with the list of the folder.( see the screenshot )
It sounds like a path error but I checked and moreover it opens the right path.

What Do I forget ?

the html :
<figure class="zoomable required">
      <img data-sizes="single" src="img/01-rabbit-280.jpg"
            width="280" height="429"
            alt="An illustration of a white rabbit Looking at a pocket watch" />
           
            <object data-sizes="lightbox">
               <iframe width="100%" height="100%" src="img/" frameborder="0"></iframe>
           </object>
      </figure>


the resources file :
<div class="lightbox">
        <div class="container"></div>
       
        <div class="close"></div>
    </div>

I want to display the slideshow of the img folder.
Any ideas ?

thanks


David Montoro

unread,
May 1, 2014, 11:12:26 AM5/1/14
to trees...@googlegroups.com
ok I answer to myself.
It seems that I must load an external page from the iframe.
So this external loaded page has a code for displaying the photos as a slideshow.

Is that right ?

Well my try works but I used another library to make a slider slideshow.

I thought a slideshow worked directly from tressaver lightbox function.

Anyone can confirm this ?
Reply all
Reply to author
Forward
0 new messages