From 9f890de0a50e68c7c912d1346478380f7cb109ac Mon Sep 17 00:00:00 2001
From: Malf Furious <m@lfurio.us>
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 <m@lfurio.us>
---
 app/model/objBgPrev.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'app/model/objBgPrev.php')

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