getGUID(); $tags = $image->tags; $title = $image->getTitle(); $desc = $image->description; $owner = $image->getOwnerEntity(); $friendlytime = friendly_time($image->time_created); /******************************************************************** * * search view of an image * ********************************************************************/ if (get_context() == "search") { // gallery view is a matrix view showing just the image - size: small if (get_input('search_viewtype') == "gallery") { ?>
'.$title.''; $info .= " "; $icon = "getURL()}\">" . ''; echo elgg_view_listing($icon, $info); } /*************************************************************** * * front page view * ****************************************************************/ } else if (get_context() == "front" || get_context() == "widget") { // the front page view is a clickable thumbnail of the image ?> $image), $image_html); if ($image_html) { echo $image_html; } else { // default link to image if no one overrides ?> container_guid); $back_guid = $album->getPreviousImageGuid($image->guid); $next_guid = $album->getNextImageGuid($image->guid); if ($back_guid != 0) { $text = elgg_echo('image:back'); $back = "« $text"; } if ($next_guid != 0) { $text = elgg_echo('image:next'); $next = "$text »"; } ?>