aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets/latest_photos/content.php
blob: ecd72aec4065dd0cec2f41b040cd7fd1deeceed1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
/**
 * Display the latest photos uploaded by an individual
 */

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',
));