Thumbnails in 5.7 - how to force generation of a new thumbnail for existing files ?
I added a new thumbnail declaration programmatically for my site. I then use that thumbnail through
This works great for new files. However, existing files that were uploaded before I made that change do not have that thumbnail and I get the original much bigger image instead of the thumbnail.
One workaround I found was to edit and then immediately save a file - then the thumbnail is generated. But that's not very acceptable with hundreds of existing files.
It there a way to force the generation of all the missing thumbnails either through the backoffice or programmatically ?
Actually it appears you can rescan a batch by clicking the tick box in the top blue panel in File Manager and then select 'Rescan' under the 'Items Selected' dropdown.
Example image attached.
What is the purpose of the 'required' flag for the thumbnail generation ? I set it to true, but I'm not sure of it's exact purpose.