grist-core
grist-core copied to clipboard
Create smaller file size thumbnail for image attachments
Describe the problem to be solved
It seems to me (correct me if I'm wrong) that there are no thumbnails being generated for image attachments. When attaching an image, the small preview in the column seems to loads the full size image. This makes a table with many rows with attachments incredibly slow to load.
Also there is no way to automatically downsize an image. E.g. when uploading directly from a phone camera, the full resolution gets stored in grist, but might not always be required.
Describe the solution you would like
When uploading an image attachment, grist should automatically generate a thumbnail of a certain (configurable) size. The table view should load the thumbnail, and only when opening the attachment, the full image should be downloaded.
Ideally grist would also allow to configure a (per table) image attachment size to be stored - anything bigger than that would automatically be downsized.
Yes, this would be a nice feature to have!
This would be nice. I have actually ended up hiding the image columns in my table and only showing them in a connected card widget (when a given row is selected), because loading the image thumbnails took too long.