# Image in rich text field via Airtable formula

**URL:** <https://community.glideapps.com/t/image-in-rich-text-field-via-airtable-formula/65780>\
**Category:** Ask for Help\
**Tags:** airtable\
**Created:** [September 5, 2023, 12:24pm UTC](https://community.glideapps.com/t/image-in-rich-text-field-via-airtable-formula/65780 "2023-09-05T12:24:43Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![hirereach](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hirereach/32/58130_2.png) [@hirereach](https://community.glideapps.com/u/hirereach)\
**Post date:** [September 5, 2023, 12:24pm UTC](https://community.glideapps.com/t/image-in-rich-text-field-via-airtable-formula/65780/1 "2023-09-05T12:24:43Z")

</div>

How do I get a small image in line with text in a rich text field?

I’m pulling data dynamically from Airtable (text and images).

Here’s the formula I’m using in Airtable:

```auto
"!["&{MugShotLinkName}&"](https://airtable.com/1234567/"&{MugShotLinkURL})

```

Glide rich text fields work great for text formatting and everything else, but not images. See attached.

What am I doing wrong?

 ![Screenshot 2023-09-05 at 7.56.45 AM copy](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/5/a5b70f59b3f3369bd8fbe3d7a74bd16a3a9586d3.png)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 6, 2023, 1:53am UTC](https://community.glideapps.com/t/image-in-rich-text-field-via-airtable-formula/65780/2 "2023-09-06T01:53:57Z")

</div>

Something like this works for me.

```auto
<div id="container" style="white-space:nowrap">
<div id="image" style="display:inline-block;">
        <img src="https://i.imgur.com/LlPCU0K.png" width="50" height="50"/>
    </div>

<div id="text" style="display:inline-block; vertical-align: 6px; white-space:nowrap;padding-left: 12px"> 
<span style="font-size: 2.125rem;font-weight:800">Next Delivery</span>
    </div>

</div>

```

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/b/4b7b009c64010a380ab0a10ed6d4f050ace85839.png)

---

<div class="post-metadata">

**Author:** ![hirereach](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hirereach/32/58130_2.png) [@hirereach](https://community.glideapps.com/u/hirereach)\
**Post date:** [September 6, 2023, 1:29pm UTC](https://community.glideapps.com/t/image-in-rich-text-field-via-airtable-formula/65780/3 "2023-09-06T13:29:23Z")

</div>

Thanks; I’m not very technical, though.

How would I write that in Airtable using the “code” I wrote, above?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 7, 2023, 12:18am UTC](https://community.glideapps.com/t/image-in-rich-text-field-via-airtable-formula/65780/4 "2023-09-07T00:18:35Z")

</div>

Does it need to happen in Airtable though?

If you can bring the image URL and the text to Glide, you can just construct it using a template column.

> **[Template Column](https://www.glideapps.com/docs/automation/computed-columns/template-column)**
>
> Display dynamic text that can change with the values in other columns.

---

<div class="post-metadata">

**Author:** ![hirereach](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hirereach/32/58130_2.png) [@hirereach](https://community.glideapps.com/u/hirereach)\
**Post date:** [September 7, 2023, 11:59pm UTC](https://community.glideapps.com/t/image-in-rich-text-field-via-airtable-formula/65780/5 "2023-09-07T23:59:10Z")

</div>

Thank you!! I didn’t know what a Template Column is used for.

My current challenge is how do I get the images/attachments from Airtable into Glide dynamically (Airtable links expire in roughly 2 hrs).

Zapier can’t do it. And populating Google sheets with images from Airtable seems like a crappy solution.

Ideas?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 8, 2023, 12:33am UTC](https://community.glideapps.com/t/image-in-rich-text-field-via-airtable-formula/65780/6 "2023-09-08T00:33:43Z")

</div>

Does the image field in Airtable update itself after 2 hours? If it’s the case then I think Glide will just update the URL when the Airtable side updates.

---

<div class="post-metadata">

**Author:** ![hirereach](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hirereach/32/58130_2.png) [@hirereach](https://community.glideapps.com/u/hirereach)\
**Post date:** [September 8, 2023, 10:00am UTC](https://community.glideapps.com/t/image-in-rich-text-field-via-airtable-formula/65780/7 "2023-09-08T10:00:42Z")

</div>

It doesn’t look like I can access images externally that are stored in Airtable (a recent update from them).

I need a way to store images somewhere else and pull them into Glide dynamically.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 8, 2023, 10:01am UTC](https://community.glideapps.com/t/image-in-rich-text-field-via-airtable-formula/65780/8 "2023-09-08T10:01:54Z")

</div>

> [@hirereach](#):
>
> It doesn’t look like I can access images externally that are stored in Airtable (a recent update from them).

Sorry I don’t use Airtable. What do you mean that you can’t access image externally that are stored in Airtable? If it’s stored as a URL in Airtable, doesn’t that update to Glide?

---

<div class="post-metadata">

**Author:** ![hirereach](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hirereach/32/58130_2.png) [@hirereach](https://community.glideapps.com/u/hirereach)\
**Post date:** [September 8, 2023, 10:19am UTC](https://community.glideapps.com/t/image-in-rich-text-field-via-airtable-formula/65780/9 "2023-09-08T10:19:35Z")

</div>

[According to this](https://support.airtable.com/docs/airtable-attachment-url-behavior), apparently not anymore…unless I’m missing something (which is quite possible, given my non-tech background).

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 8, 2023, 10:25am UTC](https://community.glideapps.com/t/image-in-rich-text-field-via-airtable-formula/65780/10 "2023-09-08T10:25:58Z")

</div>

Here was Glide’s word back when they first introduced expiring links.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/a/4aa44c5edc71eb2956e7f065aadff589a1b22525.png)

Is there a way you can rework your structure to upload files through Glide?

---

<div class="post-metadata">

**Author:** ![hirereach](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hirereach/32/58130_2.png) [@hirereach](https://community.glideapps.com/u/hirereach)\
**Post date:** [September 11, 2023, 4:58pm UTC](https://community.glideapps.com/t/image-in-rich-text-field-via-airtable-formula/65780/11 "2023-09-11T16:58:49Z")

</div>

I forgot to say thank you! Currently looking into this…
