diff options
Diffstat (limited to 'views/default/lightbox/image.php')
-rw-r--r-- | views/default/lightbox/image.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/views/default/lightbox/image.php b/views/default/lightbox/image.php deleted file mode 100644 index 28d82e2be..000000000 --- a/views/default/lightbox/image.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php -/** - * Display an image - */ - -$image_url = elgg_get_site_url() . "mod/lightbox/thumbnail.php?guid={$vars['entity']->getGUID()}&size=large"; -$image_url = elgg_format_url($image_url); -$download_url = elgg_get_site_url() . "mod/lightbox/thumbnail.php?guid={$vars['entity']->getGUID()}&size=full"; - -if ($vars['full_view'] && $smallthumb = $vars['entity']->smallthumb) { - echo <<<HTML - <div class="file-photo"> - <a href="$download_url"><img class="elgg-photo" src="$image_url" /></a> - </div> -HTML; -} |