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

Image optimization on already existing images in strapi #24

Open
webdevelukas opened this issue Jul 27, 2023 · 3 comments
Open

Image optimization on already existing images in strapi #24

webdevelukas opened this issue Jul 27, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@webdevelukas
Copy link

Hey, I haven't tested the plugin yet, but it looks quite promising. Thanks for sharing it with us. 😊

I wonder if there is a way to run the image optimization on the already exisiting images in strapi?
Would be quite an effort to delete and add them again.

Thanks in advance✌️

@marlokessler
Copy link
Owner

Hi @webdevelukas, thank you for your message, I'm glad that you like the plugin. Currently, optimizing existing images is not possible yet, nevertheless you are welcome to contribute, if you'd like. I'll leave this issue open as feature request.

@marlokessler marlokessler added the enhancement New feature or request label Jul 28, 2023
@webdevelukas
Copy link
Author

webdevelukas commented Jul 28, 2023

Hey @marlokessler thanks for your quick reply. One more question regarding this issue. The image optimization is currently only triggered if a new image is uploaded, right? If I edit an image, it is not triggered again?

@marlokessler
Copy link
Owner

The extension overrides the Strapi image-manipulationservice of the default Strapi upload plugin. Thus, images are optimized always when this service is used. I'm not sure whether this is also on image manipulation. Hope this helps.

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

No branches or pull requests

2 participants