Skip to main content
Question

Image from table in html export

  • Aug 18, 2026 6:33 PM UTC
  • 2 replies
  • 53 views

Hello everyone,

I have a personalized interface that displays images of an Airtable base. This interface allows me to export it in html, only my photos are not displayed since the urls of airtable images are temporary. Do you have a solution please?

Thanks

2 replies

imvalerian
Forum|alt.badge.img
  • New Participant
  • Oct 15, 2026 8:07 PM UTC

The images break because Airtable attachment URLs are signed and expire after a couple of hours, so any HTML that just copies the URL will show broken images once that window passes. There are three ways around it, depending on what the export is for:

  1. Make the HTML self contained. At export time, fetch each image while its URL is still fresh and inline it as a base64 data URI (<img src="data:image/jpeg;base64,...">). In a custom interface extension that's a fetch(url), then blob(), then FileReader.readAsDataURL() before you build the HTML string. The file gets bigger, but it never depends on Airtable again.
  2. Re-host the images permanently. Add an automation that runs when an attachment is added, uploads it to storage you control (S3, Cloudinary, a public Google Drive or Dropbox folder) and writes the permanent URL into a URL field. Then build the HTML from that field instead of the attachment field. This is the better option if the HTML gets regenerated often or the images are large.
  3. Render it to a file at export time. If the export is really for sharing or printing, convert the HTML to a PDF or PNG straight away while the URLs are valid. The images get embedded in the file, so expiry stops mattering.

For option 3, thirds.ai can take the HTML (or a saved template filled with the record fields) and return a PDF or image in one API call, which also works from an Airtable script or a Make step: thirds.ai HTML to PDF

(Disclosure: I'm connected to thirds.ai.)


Forum|alt.badge.img+12
  • Known Participant
  • Oct 29, 2026 2:50 PM UTC

Hi Lwiss, if you're saving the interface from your browser (File > Save Page As), the HTML only keeps links to the images, and Airtable attachment links expire after a few hours. That's why the photos disappear.

Two no-code fixes, depending on what you need:

  1. You need a file to share or archive: print the interface to PDF instead (Ctrl/Cmd + P > Save as PDF). The images are embedded in the PDF, so they never expire.
  2. You really need HTML: in Chrome, use Save Page As > "Webpage, Complete". It downloads the images into a folder next to the HTML file, so they keep working offline.

If you need this regularly rather than once, the options above (re-hosting the images or generating the file automatically) are the way to go.