8000 Thumbnail generation fails if replacement MIME-type specified for sub-sizes · Issue #55 · vollyimnetz/crop-thumbnails · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Thumbnail generation fails if replacement MIME-type specified for sub-sizes #55

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

Closed
benjibee opened this issue Aug 2, 2021 · 1 comment · Fixed by #54
Closed

Thumbnail generation fails if replacement MIME-type specified for sub-sizes #55

benjibee opened this issue Aug 2, 2021 · 1 comment · Fixed by #54

Comments

@benjibee
Copy link
Contributor
benjibee commented Aug 2, 2021

Since WordPress 5.8 the image_editor_output_format hook makes it possible for generated thumbnails (sub-sizes) to be of a different image format than the original image. This is part of WordPress adding support for WebP, and eventually will also include other formats such as AVIF and JPEGXL.

This plugin currently fails silently and will not generate images if the MIME-type of the original image doesn't match that which is overridden by the image_editor_output_format hook.

@vollyimnetz
Copy link
Owner

You change will be included in Version 1.4.0.

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