I wish to add svg images in cms pages in backend. While uploading .svg images, it shows invalid file. Please provide me a solution to upload svg images in cms pages in magento 2


The extensions are hard coded in


Third, you need to use the IMAGEMAGICK adapter.

FOSS extension to fix that (self-promotion): https://github.com/iMi-digital/magento2-module-svg-product-images

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.