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

[bug]: WebP format image can't be added to page #5782

Open
1 task done
Aonrud opened this issue Oct 9, 2024 · 2 comments
Open
1 task done

[bug]: WebP format image can't be added to page #5782

Aonrud opened this issue Oct 9, 2024 · 2 comments
Assignees
Labels
🐛bug Something isn't working

Comments

@Aonrud
Copy link

Aonrud commented Oct 9, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When I am editing a page and click to add an image, the supported types include WebP. However, the image fails to load.

The console suggests that the API endpoint only supports JPEG and PNG, so there is an inconsistency with the front-end.

image

This is on a self-hosted install of v0.23.0.

Steps to reproduce

  1. Go to project pages and click "Add Page"
  2. Click the image icon (note the file dialogue permits webp format).
  3. Select a webp format file
  4. The image is shown in reduced, blurred form briefly, but fails to load and API error appears in the console.
  5. Opening the page again shows an image block but no image (as per screenshot).

image

Environment

Production

Browser

Mozilla Firefox

Variant

Self-hosted

Version

v.0.23.0

@Aonrud Aonrud added the 🐛bug Something isn't working label Oct 9, 2024
@Aonrud
Copy link
Author

Aonrud commented Oct 9, 2024

Perhaps it should be a separate feature request, but I also note that AVIF format isn't included. This has wide browser support now, so maybe it should be added as well?

@pushya22
Copy link
Collaborator

pushya22 commented Oct 9, 2024

@Aonrud thanks for pointing that out. The support for WebP has been intentionally removed. We'll update the messaging to reflect this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants
@vihar @Aonrud @pushya22 and others