summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lightbox2.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/lightbox2.module b/lightbox2.module
index 719845d..d98d825 100644
--- a/lightbox2.module
+++ b/lightbox2.module
@@ -546,7 +546,7 @@ function theme_imagefield_image_imagecache_lightbox2($view_preset, $field, $item
$rel = 'lightbox';
if (variable_get('lightbox2_image_group', TRUE)) {
- $rel = 'lightbox[cck_image_nodes]';
+ $rel = 'lightbox['. $field['field_name'] .']';
}
$node_link = '';