MageSmith
catalog · Magento 2.4.9 (extracted from source · curated examples)

catalog:images:resize

Pre-generates resized product image variants so the storefront doesn't generate them on-the-fly during the first page view.

Synopsis

bin/magento catalog:images:resize

Examples

Resize all product images now. Run after bulk product imports.

bin/magento catalog:images:resize

Schedule the resize work onto media.storage.catalog.image.resize consumer.

bin/magento catalog:images:resize --async

Related commands in catalog

Other catalog:* commands you might want next.

Every Magento dev tool, in one hosted workspace.

Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.