summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2019-03-21 22:52:23 -0400
committerMalf Furious <m@lfurio.us>2019-03-21 22:52:23 -0400
commit9f890de0a50e68c7c912d1346478380f7cb109ac (patch)
tree547d2440aa97077b26e2f35475d9b22b3af43a3f /app
parent080611eb878166b93b9ac334a17826fca44ffdf9 (diff)
downloadscrott-9f890de0a50e68c7c912d1346478380f7cb109ac.tar.gz
scrott-9f890de0a50e68c7c912d1346478380f7cb109ac.zip
Show thumbnail for object bg preview
... instead of the fullsized image. This guarantees a square aspect ratio, which is nice for the user interface. Signed-off-by: Malf Furious <m@lfurio.us>
Diffstat (limited to 'app')
-rw-r--r--app/model/objBgPrev.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/model/objBgPrev.php b/app/model/objBgPrev.php
index f8d024a..418ad57 100644
--- a/app/model/objBgPrev.php
+++ b/app/model/objBgPrev.php
@@ -20,7 +20,7 @@ require_once "class/obj.class.php";
* int $height
*/
-$src = $obj->getBgImg();
+$src = $obj->getThumbImg();
if ($src == NULL)
$src = ar() . "/static/img/null.jpg";