media-command
media-command copied to clipboard
Imports files as attachments, regenerates thumbnails, or lists registered image sizes.
## Bug Report - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). - [x] Yes, more specifically, I reviewed the guidelines on [how to write clear bug reports](https://make.wordpress.org/cli/handbook/bug-reports/). **Describe the current,...
## Bug Report - [X] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). - [X] Yes, more specifically, I reviewed the guidelines on [how to write clear bug reports](https://make.wordpress.org/cli/handbook/bug-reports/). **Describe the current,...
## Bug Report ### Test case 1, Step 1 **As first step, just upload JPEG image that is larger than your current setting for 'big_image_size_threshold' (default is 2560 pixels). That...
## Feature Request I haven't been able to find a way to regenerate PDF thumbnails. Reason I'm trying to is there must have been a bug in WordPress 5 that...
Is there a way to change the default location where the media is imported into? Ideally, I'd like to see a flag setting that tells wp media import to store...
## Feature Request `wp` CLI `media regenerate` should also generate the `webp` format for thumbnails of already uploaded images. [WordPress 5.8 added native `webp` format support.](https://make.wordpress.org/core/2021/06/07/wordpress-5-8-adds-webp-support/) Currently `media regenerate` regenerates...
## Feature Request - [X ] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). **Describe your use case and the problem you are facing** I have a directory that I regularly update...
`php -d max_execution_time=42 $(which wp) eval "echo ini_get('max_execution_time');"` // outputs 42 `time php -d max_execution_time=42 $(which wp) media regenerate --only-missing --yes` ``` php7.4: time limit exceeded `Operation canceled' @ fatal/cache.c/GetImagePixelCache/1868....
Hi, I would like to suggest a new feature (subcommand) that would allow to seamlessly replace media file of existing attachment: `media replace `. For the time being, I use...
Hi. it seems there is a problem in regenerate command. I run below command: `wp media regenerate --image_size=thumbnail_60x60 23005` and it says:  BUT: there is not any...