diff options
Diffstat (limited to 'mostrecentimages.php')
-rw-r--r-- | mostrecentimages.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mostrecentimages.php b/mostrecentimages.php new file mode 100644 index 000000000..8cc4a1f51 --- /dev/null +++ b/mostrecentimages.php @@ -0,0 +1,20 @@ +<?php + + /** + * Tidypics full view of an image + * Given a GUID, this page will try and display any entity + * + */ + + // Load Elgg engine + include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); + + $max = 8; + $images = list_entities("object", "image", 0, $max, false, false, true); + + $title = "Most recent images"; + $area2 = elgg_view_title($title); + $area2 .= $images; + $body = elgg_view_layout('two_column_left_sidebar', '', $area2); + page_draw($title, $body); +?>
\ No newline at end of file |