'object', 'subtype' => 'image', 'limit' => $vars['entity']->num_display, 'owner_guid' => $owner->guid, 'full_view' => false, 'list_type' => 'gallery', 'list_type_toggle' => false, 'pagination' => false, 'gallery_class' => 'tidypics-gallery-widget', )); echo $content; if ($content) { $more_link = elgg_view('output/url', array( 'href' => "/photos/siteimagesowner/" . $owner->guid, 'text' => elgg_echo('link:view:all'), 'is_trusted' => true, )); echo "$more_link"; } else { echo elgg_echo('tidypics:widget:no_images'); }