]> git.mxchange.org Git - friendica.git/blobdiff - mod/fbrowser.php
Vier: Now there are buttons for inserting bbcode elements in the comments
[friendica.git] / mod / fbrowser.php
index e030e39483b855247b2c96bf3843f7c955e14b5b..5ee813b4d68f1dc6e5efe66325eb251047e40561 100644 (file)
@@ -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 AND scale > 1 $sql_extra
+                                       FROM `photo` WHERE `uid` = %d AND (height <= 320 AND width <= 320) $sql_extra
                                        GROUP BY `resource-id` $sql_extra2",
                                intval(local_user())                                    
                        );