brutaldesign/swipebox — pull request #37 by lucasts (2013-07-18 17:39:51+00:00)
Title: opt to specify the initial item when creating a swipebox from an array

We will using this plugin at: www.techtudo.combr, one of the major internet portals in Brazil. thx

Simple stuff here, just added a option for when you pass a array of images to swipebox.

my use case here is, I want to only show to the user a small slice of the image gallery, lets say 5(of 15) images thumbnails and a button to it see all images maximized, using swipe box.

so, I dont want to just hide the 10 images left, I want to load it dinamically. So, I just save all the images refs with json and when user click in a thumbnail or the special "see all button" the swipe box opens with the 15 images.

with this option, I can get the correct behavior if the use click in one of the 5 showed thumbnails.