Skip to content

Commit bd3c606

Browse files
committed
ACP2E-3781: Exception 'Cannot create rendition for media asset paths' during image insertion
1 parent 8e332e3 commit bd3c606

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/MediaGalleryRenditions/etc/adminhtml

1 file changed

+2
-2
lines changed

app/code/Magento/MediaGalleryRenditions/etc/adminhtml/system.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
Changing these settings will update all generated images.</comment>
1919
<field id="width" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="0" showInStore="0">
2020
<label>Maximum Width</label>
21-
<validate>validate-zero-or-greater validate-digits required-entry</validate>
21+
<validate>validate-greater-than-zero validate-digits required-entry</validate>
2222
<comment>Enter the maximum width of an image in pixels.</comment>
2323
</field>
2424
<field id="height" translate="label" type="text" sortOrder="30" showInDefault="1" showInWebsite="0" showInStore="0">
2525
<label>Maximum Height</label>
26-
<validate>validate-zero-or-greater validate-digits required-entry</validate>
26+
<validate>validate-greater-than-zero validate-digits required-entry</validate>
2727
<comment>Enter the maximum height of an image in pixels.</comment>
2828
</field>
2929
</group>

0 commit comments

Comments
 (0)