Open stephen-r-k opened 6 months ago
Same problem here!
@MagestyApps , @darkdevelopers hi, it seem's that there is another lock in this Magento File :
@TommyChausson yeah I have to patch this file to make it working again. Looks like the latest Magento changes broke this module.
patches/media-uploader-allowed-ext.patch Refer to the text file below for the patch content and update the file name accordingly. media-uploader-allowed-ext.txt
Add the following code to the composer.json file located in the root directory of your Magento installation.
"extra": { "magento-force": "override", "patches": { "magento/module-backend": { "Change allowed file extensions in media-uploader.js": "patches/media-uploader-allowed-ext.patch" } } }
Magento: 2.4.6-p3 PHP: 8.1.2 Apache: 2.4.52 module-web-images: 1.1.9
Neither SVG or WebP images upload to the Media Gallery.
I get the standard error message, e.g. "Magento.svg: File validation failed."
Elsewhere images upload correctly it's just the Media Gallery.