How to convert images to webp programmatically? #5
Unanswered
Curious-Aria
asked this question in
Q&A
Replies: 1 comment
-
|
The Magefan WebP Images Extension for Magento actually converts images automatically for you. You can do that using the Page Load or Cron methods (or combine both). But if you want to covert images programmatially, just run the following command:
or this for specific folders:
As for the converted images, find them in the Images panel under System > WebP Optimized Images > Images. You can how the image was converted, when and how much the image was optimized. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi guys, i just installed magefan webp images extension and i want to convert all my images programmatically, not one by one, my store got thousands of products…
anyone knows the best way to do this? i saw some stuff about resizing images programmatically but not sure if it works for webp conversion.
Also how do i check which images already converted? i want to avoid doing duplicates or missing some… thanks!
Beta Was this translation helpful? Give feedback.
All reactions