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

Support for webp file upload #3573

Closed
JiDW opened this issue Mar 2, 2025 · 3 comments · May be fixed by #3574
Closed

Support for webp file upload #3573

JiDW opened this issue Mar 2, 2025 · 3 comments · May be fixed by #3574
Labels
enhancement New feature or request

Comments

@JiDW
Copy link

JiDW commented Mar 2, 2025

Is your feature request related to a problem? Please describe.

It is currently not possible to manually upload a webp file as a recipe picture.
This makes importing from a not fully supported website harder as we can't directly save and import a picture but instead need to first convert it to jpg.

Could you please consider supporting webp upload? Thanks!

Describe the solution you'd like

Allow webp upload

Describe alternatives you've considered

No response

Additional context

No response

@JiDW JiDW added the enhancement New feature or request label Mar 2, 2025
@smilerz
Copy link
Collaborator

smilerz commented Mar 2, 2025

webp is supported.

@smilerz smilerz closed this as not planned Won't fix, can't repro, duplicate, stale Mar 2, 2025
@JiDW
Copy link
Author

JiDW commented Mar 3, 2025

Hello @smilerz

I do not understand.
I did try on your "demo" app and it does work.

But on my install it does not, and I was able to fix it by adding ".webp" here in that file on that line.

https://github.com/TandoorRecipes/recipes/blob/develop/cookbook/helper/image_processing.py#L41

What does it mean?

@JiDW
Copy link
Author

JiDW commented Mar 3, 2025

Ah I see that this restriction was added very recently:

3e37d11

Maybe the demo app is not using the latest version?

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

Successfully merging a pull request may close this issue.

2 participants