From 600effcfc450689f3a01788da0fc8ded87bb45ae Mon Sep 17 00:00:00 2001 From: Greg Froese Date: Sun, 17 May 2009 04:55:17 +0000 Subject: fixed views topping out at 10 and made the download link an option --- views/default/object/image.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'views/default/object') diff --git a/views/default/object/image.php b/views/default/object/image.php index 13a94fc7d..aceac958b 100644 --- a/views/default/object/image.php +++ b/views/default/object/image.php @@ -100,7 +100,7 @@ if ($photo_tags) { } create_annotation($file_guid, "tp_view", "1", "integer", $the_viewer, 2); - $views_a = get_annotations($file_guid, "object", "image", "tp_view"); + $views_a = get_annotations($file_guid, "object", "image", "tp_view", "", 0, 9999); $views = count($views_a); $my_views = 0; @@ -160,7 +160,11 @@ if ($photo_tags) {
-- cgit v1.2.3