Skip to content

Commit af77cde

Browse files
author
Alexander Tolochko
committed
Moved media gallery extension to the global scope
1 parent f33ad53 commit af77cde

File tree

2 files changed

+8
-17
lines changed

2 files changed

+8
-17
lines changed

etc/adminhtml/di.xml

Lines changed: 0 additions & 17 deletions
This file was deleted.

etc/di.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,14 @@
5252
</argument>
5353
</arguments>
5454
</type>
55+
<type name="Magento\MediaGalleryIntegration\Plugin\SaveImageInformation">
56+
<arguments>
57+
<argument name="imageExtensions" xsi:type="array">
58+
<item name="svg" xsi:type="string">svg</item>
59+
<item name="webp" xsi:type="string">webp</item>
60+
</argument>
61+
</arguments>
62+
</type>
5563
<type name="Magento\Catalog\Model\Product\Gallery\Processor">
5664
<plugin name="web-images-gallery-processor-plugin" type="MagestyApps\WebImages\Plugin\Product\Gallery\ProcessorPlugin" />
5765
</type>

0 commit comments

Comments
 (0)