From 9f890de0a50e68c7c912d1346478380f7cb109ac Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Thu, 21 Mar 2019 22:52:23 -0400 Subject: 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 --- app/model/objBgPrev.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- cgit v1.2.3