Gallery3:Modules:colorbox - Gallery Codex
Personal tools

Gallery3:Modules:colorbox

From Gallery Codex

Under construction

Contents

Description

Allows integration of Colorbox within Gallery 3.

Once activated, it inserts the needed JavaScript into your page for Colorbox support.
Additional configuration is required. Please make sure visit module's admin page and save settings at least once (subfolder modules/colorbox/js must be writable)

Installation / Configuration

Activate the module: Login -> Admin -> Modules. Check the box next to the module. Visit Module Configuration Page to fine-tune the presentation

Please note, module does not replace default functionality of the Wind theme. The following steps are required:

  • in page.html.php comment out line <?= $theme->script("gallery.show_full_size.js") ?>
  • in photo.html.php comment out lines $(".g-fullsize-link").click(function() { $.gallery_show_full_size(<?= html::js_string($theme->item()->file_url()) ?>, full_dims[0], full_dims[1]); return false; });
  • in colorbox module configuration, specify .g-fullsize-link as a target

Description

Necessary javascript references would be added to the page.

Changelist

version 1.0

  • Initial release

advertisements