Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Alex (a11n)

    (@alexsanford1)

    I’m glad to hear that Regenerate Thumbnails worked to solve your problem!

    I agree that the CLI tool does essentially the same thing as this plugin, but obviously as a CLI interface rather than a UI within WP Admin. I am unsure what the underlying differences are. Sounds like the problem you experienced could be an issue in the integration of WPML and the wp media regenerate command. Perhaps it is even some functionality within WPML that is only loaded in the CLI environment? It could also be a bug in the CLI.

    One thing you could potentially try is disabling WPML and seeing if the CLI tool works then?

    In any case, it sounds like there isn’t an issue for us to resolve on our end, so I will mark this as resolved. Please feel free to post here if there are further issues we can help you with!

    @mattiasf made a great point.
    @alexsanford1, I’m curious, would you consider adding WP-CLI support for this plugin?

    Thread Starter mattiasf

    (@mattiasf)

    Hi @alexsanford1,

    I believe the WPML team might have hard-coded some things into your plugin, or into WordPress itself, that doesn’t run in CLI mode (as your pointed out yourself – just the reverse).

    Because running the WP CLI command didn’t work, but WPML told me to try your plugin, and then the plugin didn’t appear.

    The issue was that some sizes of images in other languages was not correctly retrieved, despite the image actually existing in FTP and database.

    WPML is just one great headache ??

    Thread Starter mattiasf

    (@mattiasf)

    @hubertnguyen I would use the native WP Cli method to convert images in general, as it is much faster. Simply use wp media regenerate (see more here https://developer.www.ads-software.com/cli/commands/media/regenerate/)

    Thread Starter mattiasf

    (@mattiasf)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Regeneration vs WP-CLI’ is closed to new replies.