aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-07 19:16:48 -0700
committerfriendica <info@friendica.com>2014-09-07 19:16:48 -0700
commit75fc3a8cebbf727b708ae164e0f4208cb3072b95 (patch)
tree36cc235559111e3a4e0ae7e561013a2fbc1dfc7e /mod/photos.php
parent3c024ee446fe2a51b1e2739411701ea1ac4f655a (diff)
downloadvolse-hubzilla-75fc3a8cebbf727b708ae164e0f4208cb3072b95.tar.gz
volse-hubzilla-75fc3a8cebbf727b708ae164e0f4208cb3072b95.tar.bz2
volse-hubzilla-75fc3a8cebbf727b708ae164e0f4208cb3072b95.zip
for webpages, hide the mimetype selector unless in advanced mode. For pages that endless scroll and show blocky-block things, set the default items-per-page to 60. Why? It fits column-widths of 2,3,4,5,6,10,12,15, and 20 without leaving remaindered items dangling at the end. No other setting less than 100 has this much versatility.
Diffstat (limited to 'mod/photos.php')
-rw-r--r--mod/photos.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 5618ae4e6..70870a33a 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -635,7 +635,7 @@ function photos_content(&$a) {
);
if(count($r)) {
$a->set_pager_total(count($r));
- $a->set_pager_itemspage(40);
+ $a->set_pager_itemspage(60);
}
if($_GET['order'] === 'posted')
@@ -1156,7 +1156,7 @@ function photos_content(&$a) {
);
if(count($r)) {
$a->set_pager_total(count($r));
- $a->set_pager_itemspage(20);
+ $a->set_pager_itemspage(60);
}
$r = q("SELECT `resource_id`, `id`, `filename`, type, `album`, max(`scale`) AS `scale` FROM `photo`