Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Using the Views style plugin, I am trying to use Juicebox Gallery for a couple of fields (ie Photos and Posters). Under Settings (Style options), I can only select one of these fields as the Image Source. Can I include them both or as many fields as I select?
Comment | File | Size | Author |
---|---|---|---|
Screen Shot 2015-10-08 at 11.23.14 AM.png | 237.41 KB | ramil.jugao@warnerbros.com |
Comments
Comment #2
rjacobs CreditAttribution: rjacobs commentedHi,
The Juicebox views integration is setup such that one views row represents one image in a final gallery. Though in theory it might be possible to modify the module to iterate over multiple images per views row, there are likely other options to accomplish your goal by setting up your view a bit differently. For example, you could setup a view that lists files (not content or nodes) and then filter that based on file usage or some other paramaters that would drill-down into the correct image set. This could allow you to list files from multiple node fields as separate views rows. Juicebox should integrate fine with any file-based view, even one with complex relationships, as long as you add a File ID (fid) field to the view to use as the image source field in the Juicebox formatter configuration.
Let me know if that helps.
Comment #3
rjacobs CreditAttribution: rjacobs commentedJust let me know if the comments in #2 offer a solution. As noted I hope to not over complicate the views integration logic by breaking the 1-to-1 link between views rows and gallery images, especially when views is already so flexible in the ways it can query data.
Comment #4
rjacobs CreditAttribution: rjacobs commentedI'll go ahead and close this due to inactivity. As I noted I don't think there is anything we want to modify in the module itself, and I hope that acceptable alternatives are available via various views setups.
If any questions are still pending please feel free to re-open.