Skip to main content

Formula to extract Image URL from multiple Attachments Field

  • Aug 24, 2018 4:13 PM UTC
  • 10 replies
  • 146 views

I have multiple images in an attachment field. In another field, I would like to extract just the URL separated bei , oder another character to export it in a CSV-File. Is there an example of a formula to solve this? Thanks very much for support. Regards, Dan

This topic has been closed for replies.

10 replies

Did you find a solution?


Forum|alt.badge.img+15
  • Inspiring
  • Aug 10, 2020 6:30 PM UTC

Did you find a solution?


We built an extension that extracts attachments’ URLs, including multiple ones.


Forum|alt.badge.img+2
  • Participating Frequently
  • Aug 14, 2020 6:45 PM UTC

Did you find a solution?


I’ve created a free script to achieve this. It generates the airtable formula. You can get the name or url and then play with offsets to adjust the data to output.


  • Participating Frequently
  • Nov 4, 2020 6:58 PM UTC

I’ve created a free script to achieve this. It generates the airtable formula. You can get the name or url and then play with offsets to adjust the data to output.


Thank you so much for this, Miquel. Very helpful.


Forum|alt.badge.img+2
  • Participating Frequently
  • Nov 23, 2020 5:59 PM UTC

Here another script to generate the formula. This one finds strings between strings. So you can specify the strings between you want to catch the url and then adjust the offsets.

this solves the problem of the urls with parenthesis inside the name.

This links has url params with the config you need:


Forum|alt.badge.img+5
  • Participating Frequently
  • Feb 23, 2021 10:52 PM UTC

I’ve created a free script to achieve this. It generates the airtable formula. You can get the name or url and then play with offsets to adjust the data to output.


@Miquel_Capo_Casasnov I don’t have anything else to say but… I love you.

Okay, I found something. Most of the photos are .jpg, but some are .png. Is there a way to do more than one file type in the “end string”?


Forum|alt.badge.img+2
  • Participating Frequently
  • Feb 26, 2021 11:33 AM UTC

@Miquel_Capo_Casasnov I don’t have anything else to say but… I love you.

Okay, I found something. Most of the photos are .jpg, but some are .png. Is there a way to do more than one file type in the “end string”?


@SteelsmithHaus
Yes, just use “(https” and “)” (and maybe one space like ") ") and adjust the offsets.

And make sure the url has no parenthesis in between


Mecca_Parker
Forum|alt.badge.img+2
  • Participating Frequently
  • Jan 26, 2022 9:43 PM UTC

I’ve created a free script to achieve this. It generates the airtable formula. You can get the name or url and then play with offsets to adjust the data to output.


Pretty amazing code, thank you!


Hannah_Wiginton
Forum|alt.badge.img+19

We have an Extract URLs from Attachment function in our On2Air Actions app.

And with the Actions app, you get an additional 60+ features that integrate with Airtable.

Features like creating Google Docs documents automatically with Airtable data, bulk creating, editing, or deleting multiple records, setting default field values, copying fields, performing financial calculations, syncing Google Sheets, and more.

60+ On2Air Action Features


Ricardo11
Forum|alt.badge.img+16
  • Inspiring
  • May 8, 2022 2:12 PM UTC

I’ve created a free script to achieve this. It generates the airtable formula. You can get the name or url and then play with offsets to adjust the data to output.


Thanks Miquel, this is very helpful. :pray: