diff -Nur imageblock.bak/External.inc imageblock/External.inc --- imageblock.bak/External.inc 2006-03-26 10:38:21.000000000 +0200 +++ imageblock/External.inc 2006-03-26 10:38:41.000000000 +0200 @@ -64,7 +64,7 @@ $frameIds = array(); $params = array('maxSize' => null); foreach (array('blocks', 'show', 'itemId', 'maxSize', - 'linkTarget', 'itemFrame', 'albumFrame') as $key) { + 'linkTarget', 'itemFrame', 'albumFrame', 'link') as $key) { $tmp = GalleryUtilities::getRequestVariables($key); if (!empty($tmp)) { $params[$key] = $tmp; diff -Nur imageblock.bak/classes/ImageBlockHelper.class imageblock/classes/ImageBlockHelper.class --- imageblock.bak/classes/ImageBlockHelper.class 2006-03-26 10:38:21.000000000 +0200 +++ imageblock/classes/ImageBlockHelper.class 2006-03-26 10:38:41.000000000 +0200 @@ -111,6 +111,9 @@ if (isset($params['linkTarget'])) { $ImageBlockData['linkTarget'] = $params['linkTarget']; } + if (isset($params['link'])) { + $ImageBlockData['link'] = $params['link']; + } if (!empty($blocks)) { /* Prepare image frames, if available */ diff -Nur imageblock.bak/templates/ImageBlock.tpl imageblock/templates/ImageBlock.tpl --- imageblock.bak/templates/ImageBlock.tpl 2006-03-26 10:38:21.000000000 +0200 +++ imageblock/templates/ImageBlock.tpl 2006-03-26 10:39:28.000000000 +0200 @@ -9,12 +9,17 @@ {if !empty($block.title)}