Plugin Author
kubiq
(@kubiq)
Hello,
honestly, I’ve never used CLI to do anything with images… Which command exactly you’re using? wp media regenerate or something else?
Thank you for the answer!
yes you’re right, the command is : wp media regenerate
you can have a look here if you want to try: https://developer.wordpress.org/cli/commands/media/
Yes I use WP Cli to regenerate media because my website have a big library. And it was easy to do the action without a browser. Or programmatically.
Plugin Author
kubiq
(@kubiq)
Hello,
sorry for the delay, I was pretty busy in last months.
I just checked that wp media regenerate command and actually everything works fine… main image file and also all thumbnails are generated correctly with a webp versions.
I did also check the code to confirm that it will trigger with CLI and for all image sizes and yes, it is.
So I don’t know what’s the problem on your side, but everything should work fine.
Thanks for the response, no problem with the delay.
Thank you for watching. If it works for you, I’ll check my server configuration.