I have custom file types, or a file type that doesn't support thumbnails because ckfinder only supports image type.
So file:getThumb only gets called on image file types
finder.on('file:getThumb', function (evt) {
evt.stop();
Object.assign(evt.data.templateData, evt.data);
evt.data.template = `http://example.com/images/{{= it.url }}`;
});
So turns out you need to do a little bit of patching to accomplish this.
requireing the
CKFinder/Modules/Files/Views/ThumbnailsView/FileRendererAnd patching the template string that comes back to force all file types to have a thumbnail.