From 364f56e8bd14ef2b54fc264325ba1145f4758ebd Mon Sep 17 00:00:00 2001 From: Zach Prezkuta Date: Sun, 16 Sep 2012 19:07:12 -0600 Subject: [PATCH] dont insert images larger than scale level 2 --- mod/fbrowser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/fbrowser.php b/mod/fbrowser.php index 3f034226e1..e030e39483 100644 --- a/mod/fbrowser.php +++ b/mod/fbrowser.php @@ -46,7 +46,7 @@ function fbrowser_content($a){ } $r = q("SELECT `resource-id`, `id`, `filename`, type, min(`scale`) AS `hiq`,max(`scale`) AS `loq`, `desc` - FROM `photo` WHERE `uid` = %d $sql_extra + FROM `photo` WHERE `uid` = %d AND scale > 1 $sql_extra GROUP BY `resource-id` $sql_extra2", intval(local_user()) ); -- 2.39.5