diff options
author | Malf Furious <m@lfurio.us> | 2019-03-21 22:52:23 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2019-03-21 22:52:23 -0400 |
commit | 9f890de0a50e68c7c912d1346478380f7cb109ac (patch) | |
tree | 547d2440aa97077b26e2f35475d9b22b3af43a3f | |
parent | 080611eb878166b93b9ac334a17826fca44ffdf9 (diff) | |
download | scrott-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>
-rw-r--r-- | app/model/objBgPrev.php | 2 |
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"; |