From: Zach Prezkuta Date: Mon, 17 Sep 2012 01:07:12 +0000 (-0600) Subject: dont insert images larger than scale level 2 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=364f56e8bd14ef2b54fc264325ba1145f4758ebd;p=friendica.git dont insert images larger than scale level 2 --- 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()) );