You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes it's just easier to do things from CLI. Please consider adding WP CLI commands to:
optimize particular image (by attachment ID or URL ),
optimize particular image size (even if it's not marked as a size to be compressed).
If the feature is accepted, I'll submit PR (I need to clean up my code before I do it, so I don't want to invest time into something that might be rejected).
The text was updated successfully, but these errors were encountered:
Similarly to #21, I think it's fine to provide easier to use options to compress images from code outside of the plugin (ie. via the CLI tool).
I'm not exactly sure what the use cases are of compressing individual image sizes though. In the case that you add a new image size to be compressed, it's much more efficient to use the bulk compression tool to process all your existing images. It also makes the change required quite a bit larger than just offering an easy way to compress all configured image sizes of one image. In any case, feel free to submit a PR. We'd welcome anything that improves the code base!
I'm +1 to having a wp-cli command available as it's the first thing tried when having issues with bulk optimiser or wanting to optimise one specific image.
Sometimes it's just easier to do things from CLI. Please consider adding WP CLI commands to:
If the feature is accepted, I'll submit PR (I need to clean up my code before I do it, so I don't want to invest time into something that might be rejected).
The text was updated successfully, but these errors were encountered: