mirror of
https://github.com/friendica/friendica
synced 2024-11-10 07:42:53 +00:00
Merge pull request #479 from fermionic/album-image-inserted-too-large
dont insert images larger than scale level 2
This commit is contained in:
commit
6ebd56012a
1 changed files with 1 additions and 1 deletions
|
@ -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 (height <= 320 AND width <= 320) $sql_extra
|
||||
GROUP BY `resource-id` $sql_extra2",
|
||||
intval(local_user())
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue