Closed (fixed)
Project:
Shadowbox
Version:
7.x-3.0-beta7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Jan 2012 at 04:44 UTC
Updated:
14 May 2014 at 09:52 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
manfer commentedCould you elaborate better?
I have tested and it works fine. I have a content type that has an image field and a view that displays that image with shadowbox as formatter. When you scroll down that view an ajax call is made that adds more images to the page and as the formatter for the images is shadowbox then those images are opened in shadowbox when you click on them, and if they are grouped in a gallery they are shown with previous/next buttons.
Only actual images on the page are grouped in the gallery. For example if each page has 9 images and you scroll down two pages so the pages show 27 images those are the ones shown in shadowbox. When the user scrolls down enough so all pages are shown then the shadowbox will show all pages either.
What would you expect to happen that is not working? Are you using the automatic auto handling of images instead of shadowbox formatter for image fields? Or you expected next arrow triggering the ajax call when inside shadowbox and last image of the page is reached?
Comment #2
jeffschulerThanks for the quick response!
I'm using Drupal 7.10, Views 7.x-3.0, and Shadowbox 7.x-3.0-beta7. I've tried this with both the Base (standalone) and jQuery versions of the 3.0.3 Shadowbox.js lib (see download settings screenshot below) -- same results.

Same thing in Chrome, Firefox, and Safari for Mac.
It's a Grid-format view of fields, using the shadowbox formatter on the image field -- not automatic image handling:
Shadowbox and its gallery feature work fine on the first 20 items (the number displayed on a page.) When I scroll further down, the next 20 images load, but when I click on them, the image -- of the size I indicated in "Link image to" -- is loaded directly instead of displayed in a shadowbox. If I load more pages, then scroll back up to the top, the original 20 still work fine.
FWIW, I tried the Lightbox2 module and it worked as expected. I'd prefer to use Shadowbox though.
Comment #3
jeffschulerOh, hmm. Maybe I misunderstood you. I should have "Enable for all image links" turned on? I'm not sure whether that's going to screw up other stuff on the site, but it solves this current issue... I'm still curious whether you're able to make it work without that.
Comment #4
manfer commentedI was testing with that feature enabled and that's why it was working for me. But should not be necessary if that feature is not wanted. I need to review why it fails. The links has the rel attribute shadowbox value so it must be that shadowbox object does not know about them. I will investigate why it works with that feature enable.
Comment #5
manfer commentedNew version 7.x-4.0-beta4 released with the necessary changes that solve this issue if I'm not wrong.
It has been backported to 7.x-3.x branch too and released as 7.x-3.0-beta8.
If you test please report if it works for you.
Thanks for the report.
Comment #6
jeffschulerYup, works.
Awesome; thanks!