summaryrefslogtreecommitdiff
path: root/templates/admin_liberty.tpl
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2009-01-03 09:37:04 +0000
committerMax Kremmel <xing@synapse.plus.com>2009-01-03 09:37:04 +0000
commit1c8d37103647431999d4b4b5bc5519f2fb0065b5 (patch)
tree8a9d07e2a1d629a3a382c6a402c2f9beb26e49fc /templates/admin_liberty.tpl
parentddad4cc36a840a325ba1d10eed7eaf2b9613ad98 (diff)
downloadliberty-1c8d37103647431999d4b4b5bc5519f2fb0065b5.tar.gz
liberty-1c8d37103647431999d4b4b5bc5519f2fb0065b5.tar.bz2
liberty-1c8d37103647431999d4b4b5bc5519f2fb0065b5.zip
allow the user to specify the default compression setting for thumbnails
Diffstat (limited to 'templates/admin_liberty.tpl')
-rw-r--r--templates/admin_liberty.tpl10
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/admin_liberty.tpl b/templates/admin_liberty.tpl
index 2afde5f..2094610 100644
--- a/templates/admin_liberty.tpl
+++ b/templates/admin_liberty.tpl
@@ -1,5 +1,5 @@
{strip}
-{form}
+{form}
{jstabs}
{jstab title="General Settings"}
{legend legend="Liberty Cache"}
@@ -115,6 +115,14 @@
{/foreach}
<div class="row">
+ {formlabel label="Image Compression" for="liberty_thumbnail_quality"}
+ {forminput}
+ {html_options values=$imageCompression options=$imageCompression id=liberty_thumbnail_quality name=liberty_thumbnail_quality selected=$gBitSystem->getConfig('liberty_thumbnail_quality')|default:85}
+ {formhelp note="Set the quality you want to have your thumbnails generated in. The higher the value, the better the quality but also the larger the filesize. We recommend a value between 75 and 85."}
+ {/forminput}
+ </div>
+
+ <div class="row">
{formlabel label="Thumbnail Format" for="thumbformat"}
{forminput}
{html_options values=$thumbFormats options=$thumbFormats id=thumbformat name=liberty_thumbnail_format selected=$gBitSystem->getConfig('liberty_thumbnail_format')}