Is it possible to change the thumbnail of a file, ...
# questions
c
Is it possible to change the thumbnail of a file, which is shown as an attachement on Stacker? In my specific case it is a ics-File, which is displayed like the attached image, which does not look great at all... Displaying as image does not improve the visual effect, unfortunately.
f
Hi Malte, there is no way to choose the image that displays. It will typically show a thumbnail of the actual file or image. Is this particular file loading for you when you click the file?
c
If I click the file it shows "This file cannot be opened" Download file. I might change the respective field to an URL and link it to a G-Drive. Then display it as button and people can download the file directly, which will also do the trick, as it is a ics file, which they anyways need to download.
👍 1
s
Might be possible to maybe change the preview by hardcoding it for this particular field I haven’t tried that yet but I believe it’s possible, would typically require custom JS or CSS
c
think I solved it by generating two ics-links (one for google calendars and one for outlook calendars). I had to write a script for it and trigger the script via an automation in airtable whenever a event gets updated. This allows me to display two URL fields (displayed as buttons), which will enable a direct download into google and outlook calendars! 🎉
👍 2