experius / Magento-2-Module-Experius-WysiwygDownloads

Available At Packagist
https://packagist.org/search/?q=experius
Open Software License 3.0
98 stars 24 forks source link

Media manager doesn't show pdfs in 2.4.6 #27

Closed HenrivantSant closed 5 months ago

HenrivantSant commented 1 year ago

The new media management of Magento doesn't show pdfs. They're uploaded successfully, however they're not available in the media management to actually use them.

image

tweetyx commented 11 months ago

it's seems 👍 https://magento.stackexchange.com/questions/337952/uploading-svg-and-pdf-in-the-new-media-gallery

"``` Additionally, that part comes from vendor/magento/module-media-gallery-synchronization/etc/di.xml:

100 jpg jpeg gif png

You should add your custom extensions in that file too, so it make that files recognizable.

Place that in your di.xml:

pdf svg


"

i have problem with imagemagik when i synchronize
php bin/magento media-gallery:sync

so i have desactivate this new module
https://experienceleague.adobe.com/docs/commerce-admin/content-design/media/gallery/media-gallery.html#media-gallery-demo
xnhinzkyx commented 7 months ago

I got same issue. Also the file has not been added to media_gallery_asset table. It's uploaded but you can't see the file.

Magento 2.4.6 PHP 8.1

borisvankatwijk commented 5 months ago

Hi @HenrivantSant , cc @tweetyx, @xnhinzkyx,

These things should be fixed in the latest release: https://github.com/experius/Magento-2-Module-Experius-WysiwygDownloads/releases/tag/1.2.1

Credits to @mhaagen85

Kind regards