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

Avif support #88

Open
fatk opened this issue Jan 15, 2025 · 0 comments
Open

Avif support #88

fatk opened this issue Jan 15, 2025 · 0 comments

Comments

@fatk
Copy link

fatk commented Jan 15, 2025

Hi there,

I've been using timmy for years and it's been awesome, so thank you!

Recently, Wordpress (as of 6.5) and Timber as of (2.3) have enabled support for avif format.
I've successfully enabled avif-only image generation by using the image_editor_output_format wordpress filter, as well as timber/image/new_url and timber/image/new_path filters.

However, Timmy's ignore_attachment method has a hardcoded allowed file extension array which prevents processing avif files.
Do you think you could either add avif (and webp) to the array, or better, create a new filter for users to be able to modify supported extensions?

Thanks again!

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

1 participant