Add suffix to attachment_image_autoscale_max_* options
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 29 Mar 2019 14:14:01 +0000 (15:14 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 29 Mar 2019 14:14:50 +0000 (15:14 +0100)
com.woltlab.wcf/option.xml

index 11af487a7f4b2ebedb15352d49fd069e41839ab1..26df367eda49752363c3cc30c91e586e11348e97 100644 (file)
@@ -1058,12 +1058,14 @@ redis:wcf.acp.option.cache_source_type.redis</selectoptions>
                                <optiontype>integer</optiontype>
                                <defaultvalue>1920</defaultvalue>
                                <minvalue>1</minvalue>
+                               <suffix>pixel</suffix>
                        </option>
                        <option name="attachment_image_autoscale_max_height">
                                <categoryname>message.attachment.autoscale</categoryname>
                                <optiontype>integer</optiontype>
                                <defaultvalue>1200</defaultvalue>
                                <minvalue>1</minvalue>
+                               <suffix>pixel</suffix>
                        </option>
                        <option name="attachment_image_autoscale_file_type">
                                <categoryname>message.attachment.autoscale</categoryname>