prestashop:thumbnails:regenerate

Informations

  • Path: src/PrestaShopBundle/Command/RegenerateThumbnailsCommand.php
  • Arguments:
    • image: Image domain (e.g products, categories, manufacturers, …)
    • image-type: Image format ID (0 for all) (optional)
  • Options:
    • --delete: Erase previous images before regenerating (optional)

Description

Since 9.1.x .

This command aims to regenerate thumbnails via command line.

Examples

Regenerate products image types

$ bin/console prestashop:thumbnails:regenerate products

Regenerate categories image types for image type ID 5

$ bin/console prestashop:thumbnails:regenerate categories 5

Regenerate all image types and erase previous thumbnails

$ bin/console prestashop:thumbnails:regenerate all --delete