The Juicebox javascript library people recently released v1.4, which includes a feature they call "multi-size" image support. This appears to be a library-specific implementation of adaptive/fluid concepts that allows different source images to be delivered depending on the client's current viewport. It's in many ways their own native support of the concept explored in #2023851: Identify best Drupal tool(s) to use for adaptive/fluid image source generation with Juicebox.

This is a Pro only feature, which is too bad. In order to keep things as consistent as possible for all users I have not been adding too many Pro-specific controls to this module's GUI (PRO conf option can still be entered via custom key=value pairs, but their aren't nice form options for them). However, given the way that Drupal image styles should be able to integration directly with this new feature, I think this is an exception.

Adding support for this will probably involve adding some global conf options where PRO users can map a Drupal image style to the small, medium and large Juicebox screen modes, and then altering the XML build methods to set the needed largeImageURL and smallImageURL tags in the XML.

Related ref from their forum: http://juicebox.net/forum/viewtopic.php?id=1317

Comments

  • Commit 0466e27 on 7.x-2.x by rjacobs:
    Issue #2246851 by rjacobs: Integrate multi-size support with Drupal...
rjacobs’s picture

Status: Active » Fixed

Changes committed. There is now a new "Juicebox PRO multi-size (adaptive)" pseudo image style that appears only for PRO users. This style can be configured in the global Juicebox settings to associate a real Drupal image style with each screen mode (small, medium and large). I've also bundled some new image styles with the module to map nicely to small, medium and large modes and serve as defaults, but these can of course be switched.

There are some doc updates that should accompany this change, but those can be addressed all at once when the next beta is released. So I'll mark this as fixed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

rjacobs’s picture

Version: 7.x-2.x-dev » 8.x-2.x-dev
Status: Closed (fixed) » Active

Re-opening as I realize that this also needs to be ported to 8.x-2.x

  • rjacobs committed ed5570f on 8.x-2.x
    Issue #2246851 by rjacobs: Integrate multi-size support with Drupal...
rjacobs’s picture

Status: Active » Fixed

This has now been ported to 8.x-2.x.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.