New answers tagged

0

If you check the code around the line specified in the error you will see why it doesn't work :) $allowImageTypes = ['gif', 'jpg', 'jpeg', 'png']; So basically, you can't upload a PDF and expect it to be treated as an image since this is not allowed file extension.


0

I cant comment.. But the top Answer from @Fran Horan doesnt work, since this option seems not to be available under Catalog for Magento 2.4.2? How can we enable dynamic media now?


Top 50 recent answers are included