Set on administrative page for Lightbox image display size: _original. Image trigger size: _original, navigate to some images and click on the _original image link above the image, but Lightbox not fires. With thumbnail and preview sizes work good. Image module: 6.x-1.0-beta5.

Comments

ibis’s picture

Status: Active » Needs review

Issue is solved with this in lightbox2.module in lightbox2_link_alter function:

// Change original ('') to '_original'.
  if (isset($trigger_sizes[''])) {
    unset($trigger_sizes['']);
    $trigger_sizes['_original'] = '_original';
  }

change to:

// Change original ('original') to '_original'.
  if (isset($trigger_sizes['original'])) {
    unset($trigger_sizes['original']);
    $trigger_sizes['_original'] = '_original';
  }
stella’s picture

Status: Needs review » Fixed

committed, thanks!

Status: Fixed » Closed (fixed)

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