aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-06-07 08:45:08 +0200
committerMario Vavti <mario@mariovavti.com>2019-06-07 08:45:08 +0200
commitebc2b23c3a2c83ad62ba301d0b94671e4691689a (patch)
tree6b89f730983435e64bd8e02ead223fefd190c13d
parent5d6128b25ce4cb37f406c9bb5bd7ff16b09c0bde (diff)
downloadvolse-hubzilla-ebc2b23c3a2c83ad62ba301d0b94671e4691689a.tar.gz
volse-hubzilla-ebc2b23c3a2c83ad62ba301d0b94671e4691689a.tar.bz2
volse-hubzilla-ebc2b23c3a2c83ad62ba301d0b94671e4691689a.zip
fix embedphotos image size
-rw-r--r--Zotlabs/Module/Embedphotos.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Embedphotos.php b/Zotlabs/Module/Embedphotos.php
index 8b0421457..6a88513dc 100644
--- a/Zotlabs/Module/Embedphotos.php
+++ b/Zotlabs/Module/Embedphotos.php
@@ -53,7 +53,7 @@ class Embedphotos extends \Zotlabs\Web\Controller {
$channel = \App::get_channel();
$output = EMPTY_STR;
if($channel) {
- $resolution = ((feature_enabled($channel['channel_id'],'large_photos')) ? 2 : 3);
+ $resolution = ((feature_enabled($channel['channel_id'],'large_photos')) ? 1 : 2);
$r = q("select mimetype, height, width from photo where resource_id = '%s' and $resolution = %d and uid = %d limit 1",
dbesc($resource),
intval($resolution),