Always generate thumbnails for images
The current implementation generates image thumbnails only for images that are linked to an image gallery.
It would be more sensible to generate thumbnails for any image added to the file repository and then remove the thumbnails when the image is removed.
Please move thumbnail generation to
This will be helpful for grin-global/grin-global-ui!79 (merged)