pisi / Reel

The premier 360° solution for jQuery.
http://reel360.org
MIT License
689 stars 210 forks source link

Sequence with unknown number of frames #271

Open TheFinley opened 10 years ago

TheFinley commented 10 years ago

I am capturing 20 images (Pic01.jpg ... Pic20.jpg) at a time, saving it to a folder, and displaying them with Reel. If one of the images is missing (Pic17.jpg) it will display the missing image icon.

Is it possible for Reel to determine that there are now 19 images and to skip Pic17.jpg?

pisi commented 10 years ago

I guess this could be possible, will try to get some error detection in there. Thanks for a good suggestion!

At the moment, if you have an irregular sequence with one frame missing, you can always use array notation of images and skip those yourself (providing you know which are missing):

images: [
   'pic01.jpg',
   'pic03.jpg',
   'pic04.jpg'
]