aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets/latest_photos/content.php
blob: 8a3bb4891b6bcaa480e07a055c27dc45ca4d8cce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
/**
 * Display the latest photos uploaded by an individual
 *
 * @author Cash Costello
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2
 */

echo elgg_list_entities(array(
	'type' => 'object',
	'subtype' => 'image',
	'limit' => $vars['entity']->num_display,
	'owner_guid' => elgg_get_page_owner_guid(),
	'full_view' => false,
	'list_type' => 'gallery',
	'list_type_toggle' => false,
	'gallery_class' => 'tidypics-gallery-widget',
));