prestashop:thumbnails:regenerate
src/PrestaShopBundle/Command/RegenerateThumbnailsCommand.php
image
: Image domain (e.g products, categories, manufacturers, …)image-type
: Image format ID (0 for all) (optional)--delete
: Erase previous images before regenerating (optional)Since 9.1.x .
This command aims to regenerate thumbnails via command line.
$ bin/console prestashop:thumbnails:regenerate products
$ bin/console prestashop:thumbnails:regenerate categories 5
$ bin/console prestashop:thumbnails:regenerate all --delete