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 d98d825..193e66c 100644
--- a/lightbox2.module
+++ b/lightbox2.module
@@ -405,7 +405,7 @@ function lightbox2_add_files() {
$image_node_classes .= "img.flickr-photo-img,";
}
$trigger_sizes = variable_get('lightbox2_trigger_image_size', array('thumbnail' => t('Thumbnail')));
- foreach ($trigger_sizes as $size) {
+ foreach ($trigger_sizes as $size => $size_name) {
$image_node_classes .= "img.$size, img.image-$size,";
}
$image_node_classes = rtrim($image_node_classes, ",");