The way Thickbox, and Lightbox, work is by examining the currently displayed page's code via Javascript code and modifying it to invoke their functions.
What you're seeing is the result of only one page being available to that code.
A couple of ideas come to mind to provide this function:
Here's an example of an image being displayed as a thumbnail linked setup for Lightbox:
<a href="/files-ck/2006/DSCN2261.JPG" rel="lightbox" class="thickbox"><img src="/files-ck/2006/DSCN2261.JPG" height="250" width="188" /></a>
Here's the same example without the thumbnail actually being displayed:
<a href="/files-ck/2006/DSCN2261.JPG" rel="lightbox" class="thickbox"></a>
It's important that the rel specification be the same for all of your images.
Now, how you handle this on the subsequent pages is up to you to figure out.
Hope this helps,
Curt
What you're seeing is the result of only one page being available to that code.
Yes, I thought as much. Like you said, I would need to add some method to add the 'extra' code to each page.
I started toying with option #2, but instead of using panels, I used Views Attach, which I am already using.
I created a display with an 'offset' (under Items per Page) equal to the number of items per page so the second view would show "the rest" of the paged content.
This could work GREAT when displaying the first page, but if you are on other pages, it does not work well.
I would really need 2 additional views that can know which page I am on.
The first view would be above the page and provide the hidden links to the images BEFORE the current page
The second view would be below the page and provide hidden links to the images AFTER the current page.
Any thoughts on how to do this?
I am not a developer and have LITTLE knowledge of php...
Hi,
I am making an image gallery using the methods outlined in Jeff Eaton's Photo galleries with Views Attach.
I added Thickbox following Rob Safuto's Image Gallery Enhancements screencast.
THIS IS AWSOME! Works great, easy to setup with REALLY slick navigation...
BUT....
If the view has the pager enabled, Thickbox only navigates through the images on the current page.
Can it be configured to navigate through ALL images/nodes that are contained within the pager list?
Thanks for the help!
(Note, I also posted this in the Thickbox issue queue.)