i have an online gallery i used blueimp plugin to get the good features in it like lightbox and touch support ...
you can look on it here : www.aburaga.com
as you see its a big cakes gallery with many categories and pagination ( i built it with codeigniter/php ),
now when you click on a thumbnail image of any cake blueimp lightbox will appear showing you same image but larger version ,
with small dots on the bottom center of the light box for you to move forth and backward other images that reside in the page ,
now when you reach last image blueimp configured to show you first image from beginning like cycling through the images back and forth
, my question here is as follows , as you see my gallery isnt just 10 images in one page , most categories of the galleries has much more pages and images , what i should do in order to make blueimp pagination synched with my gallery pagination ? so when the user reach last image in the current page through blueimp lightbox and he want to see next image i need blueimp to show him next images reside in the next page and same thing if he press reverse arrow , and when the user closes the blueimp lightbox he should be redirected to the current page he reached through navigating in blueimp lightbox so it will reflect the actions he did in blueimp in the background (real site).