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
fancy-eve-33145
03/17/2025, 3:36 PM
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
chilly-controller-39138
03/17/2025, 3:39 PM
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
sticky-night-20812
03/17/2025, 6:04 PM
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
chilly-controller-39138
03/17/2025, 10:29 PM
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! 🎉