Newer
Older
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
<system>
<section id="categorywidget" translate="label" sortOrder="15" showInDefault="1" showInWebsite="1" showInStore="1">
<class>separator-top</class>
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<tab>nicolasbejean</tab>
<resource>NicolasBejean_CategoryWidget::global</resource>
<group id="resize" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Image Resize Settings</label>
<comment>Default Resize Settings</comment>
<field id="constrain_only" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Constrain Only</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
<comment>Guarantee, that image picture will not be bigger, than it was. It is false by default.</comment>
</field>
<field id="keep_aspect_ratio" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Keep Aspect Ratio</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
<comment>Guarantee, that image picture width/height will not be distorted. It is true by default.</comment>
</field>
<field id="keep_transparency" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Keep Transparency</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
<comment>Guarantee, that image will not lose transparency if any. It is true by default.</comment>
</field>
<field id="keep_frame" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Keep Frame</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
<comment>Guarantee, that image will have dimensions, set in $width/$height. Not applicable, if keepAspectRatio(false).</comment>
</field>
<field id="background_color" translate="label" type="text" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Background Color</label>
<comment>Default white</comment>
</field>
</group>
<group id="save" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Image Saved Settings</label>
<comment>Default Save Settings</comment>
<field id="identifier" translate="label" type="text" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Identifier</label>
</field>
<field id="basename" translate="label" type="text" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Basename</label>
</field>
<field id="width" translate="label" type="text" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Width</label>
</field>
<field id="height" translate="label" type="text" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Height</label>
</field>
<field id="compression" translate="label" type="text" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Compression</label>
</field>
</group>
</section>
</system>
</config>