Regenerate Thumbnails

Hi there,

The thumbnails aren’t always generated properly after migration. I found the media:generate-thumbnails command in bin/console to generate the thumbnails but this doesn’t help me because it just skips the ''already generated" thumbnails. I would like to realy REgenerate them. Is there a way to remove all the thumbnails and let them regenerate by the console?

Kind Regards,

Dylan.

Hi Dylan,

i did check this in my environment and indeed it is right that thumbnails will not be regenerated if already existing. 
You will need to clear the „media_thumbnail“ table in your database to regenerate the thumbnails.

I also added a ticket to our issue tracker so that it can be changed in future updates:
https://issues.shopware.com/issues/NEXT-7754

Kind regards,
Tim

3 Likes