• Hi,

    Is it possible to add support to generate webp images when regenerate with WP Cli?

    When I do this: wp media regenerate in cli, webp images are not generated ?? .

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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?

    Thread Starter Micka?l Gris

    (@mgris)

    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.www.ads-software.com/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.

    Thread Starter Micka?l Gris

    (@mgris)

    Thanks for the response, no problem with the delay.

    Thank you for watching. If it works for you, I’ll check my server configuration.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Regenerate media with WP Cli’ is closed to new replies.