Before we can display Recipe images in a Colorbox, we need to download and enable the module:
Open the Mac OS X Terminal or Windows Command Prompt, and change to the
d8dev
directory.Next, use Drush to download and enable the current dev release of the Colorbox module (http://drupal.org/project/colorbox):
$ drush dl colorbox-8.x-1.x-dev Project colorbox (8.x-1.x-dev) downloaded to /var/www/html/d8dev/modules/colorbox. [success] $ drush en colorbox The following extensions will be enabled: colorbox Do you really want to continue? (y/n): y colorbox was enabled successfully. [ok]
The Colorbox module depends on the Colorbox jQuery plugin available at https://github.com/jackmoore/colorbox. The Colorbox module includes a Drush task that will download the required jQuery plugin at the
/libraries
directory:$ drush colorbox-plugin Colorbox plugin has been installed in libraries [success]
Next, we will look into the Colorbox display formatter. Click...