plan2net / webp

Create a WebP copy for images (TYPO3 CMS)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for application/pdf MIME TYPE

gregordonsky opened this issue · comments

It should be possible to add application/pdf mime type support?

If i insert an Image Content Element; Pdf extension is supported, but the image it's not converted in webp format.

Adding 'application/pdf' to const SUPPORTED_MIME_TYPES seems to do it.... i don't know if there is any drawback applying this change

Thanks for your efforts! :)

Fixed in 3.1.0 via extension configuration (new option: mime_types)