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?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rjacobs’s picture

Issue tags: -juicebox, -views

Hi,

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.

rjacobs’s picture

Status: Active » Postponed (maintainer needs more info)

Just 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.

rjacobs’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

I'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.