Blog Archive

Blog Archive

Blog Archive 2019

Posted on Friday, August 23, 2019
Blog Categories:
 | Digital Frontiers Media

A client of mine recently asked me to add the "Ken Burns" pan-and-zoom effect to the slideshow that was already built on their Drupal site using Flexslider.  I didn't want to rebuild it using a different slideshow library that supported the effect out of the box and I wanted something that would produce a nice set of pans and zooms and durations that would be random and different each time the slides were presented without going beyond the slide bounds or leaving gaps or whitespace.  I came up with this javascript client-side Drupal behavior that could be added directy to the theme to add...