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

Question: can it transform the image to webp on image upload? #8

Open
Antoine-lb opened this issue Aug 16, 2022 · 2 comments
Open

Question: can it transform the image to webp on image upload? #8

Antoine-lb opened this issue Aug 16, 2022 · 2 comments

Comments

@Antoine-lb
Copy link

Hello,

I was wandering if this plugin-in could be used to turn all my uploaded images to webp on upload instead of when it's retrieved.

Thanks!

@Antoine-lb Antoine-lb changed the title Generate webp on image upload Question: can it transform the image to webp on image upload? Aug 16, 2022
@esiao
Copy link

esiao commented Jan 11, 2023

I have the same question, as I'm using Digital Ocean Spaces to store my files it would be beneficial for the images to be saved there versus the local server.

@Krislunde
Copy link

This other Strapi plugin uses Sharp to do what you ask, but doesn't have the ability to do things on the fly on http requests like local image sharp does. It'll create webps on upload -if you specify it in the settings. If you decide you want webp after all your images have been uploaded you will have to upload them again to regenerate:

https://market.strapi.io/plugins/strapi-plugin-responsive-image

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

3 participants