Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media manager doesn't show pdfs in 2.4.6 #27

Closed
HenrivantSant opened this issue Jun 29, 2023 · 3 comments
Closed

Media manager doesn't show pdfs in 2.4.6 #27

HenrivantSant opened this issue Jun 29, 2023 · 3 comments

Comments

@HenrivantSant
Copy link

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
Copy link

tweetyx commented Jul 17, 2023

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
Copy link

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants