# Any way to upload files from an image URL field to a Glide Image field?

**URL:** https://community.glideapps.com/t/any-way-to-upload-files-from-an-image-url-field-to-a-glide-image-field/67096
**Category:** Ask for Help
**Created:** [October 19, 2023, 1:46am UTC](https://community.glideapps.com/t/any-way-to-upload-files-from-an-image-url-field-to-a-glide-image-field/67096 "2023-10-19T01:46:20Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Airbid](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/airbid/32/60953_2.png) [@Airbid](https://community.glideapps.com/u/Airbid)
#### Post date: [October 19, 2023, 1:46am UTC](https://community.glideapps.com/t/any-way-to-upload-files-from-an-image-url-field-to-a-glide-image-field/67096/1 "2023-10-19T01:46:20Z")

</div>

For some reason Glide can’t display image URLs from Instagram profiles / posts. In Airtable I would have to convert these to an image field which I could do via automation - any way to do this in glide?

---

<div class="post-metadata">

### Author: ![MegannLock](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/megannlock/32/19680_2.png) [@MegannLock](https://community.glideapps.com/u/MegannLock)
#### Post date: [October 19, 2023, 2:20am UTC](https://community.glideapps.com/t/any-way-to-upload-files-from-an-image-url-field-to-a-glide-image-field/67096/2 "2023-10-19T02:20:55Z")

</div>

What’s the url structure you’re currently trying to display? You may try adding “/media/?size=…” to the end of an instagram post link. Try out a template column to automate this.

---

<div class="post-metadata">

### Author: ![Airbid](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/airbid/32/60953_2.png) [@Airbid](https://community.glideapps.com/u/Airbid)
#### Post date: [October 19, 2023, 2:58am UTC](https://community.glideapps.com/t/any-way-to-upload-files-from-an-image-url-field-to-a-glide-image-field/67096/3 "2023-10-19T02:58:29Z")

</div>

> [@MegannLock](#):
>
> /media/?size=

hmm that didn’t work - the structure is

 ![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/b/3b8f774bf317e8f8a501167339bccb7fda70fad8.jpeg)  
could it have something to do with the fact that these urls may be temporary?

---

<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: [October 20, 2023, 12:33am UTC](https://community.glideapps.com/t/any-way-to-upload-files-from-an-image-url-field-to-a-glide-image-field/67096/4 "2023-10-20T00:33:16Z")

</div>

Seems like you accidentally uploaded the picture itself. Can you check and let us know the structure you’re using?

---

<div class="post-metadata">

### Author: ![Airbid](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/airbid/32/60953_2.png) [@Airbid](https://community.glideapps.com/u/Airbid)
#### Post date: [October 20, 2023, 12:45am UTC](https://community.glideapps.com/t/any-way-to-upload-files-from-an-image-url-field-to-a-glide-image-field/67096/5 "2023-10-20T00:45:04Z")

</div>

```auto
https://scontent-lga3-1.cdninstagram.com/v/t51.2885-15/393107596_3688382244753128_4733251351003911559_n.jpg?stp=dst-jpg_e35_s1080x1080&_nc_ht=scontent-lga3-1.cdninstagram.com&_nc_cat=108&_nc_ohc=AAhU5G3uz3kAX92uGDl&edm=AOQ1c0wBAAAA&ccb=7-5&ig_cache_key=MzIxNjQyNjY3MTc4MjEwMzM2Mg%3D%3D.2-ccb7-5&oh=00_AfBose30IE0OZmAUdIMVFaVA9gO5hLfB1fM9pVqOuE5Rlg&oe=65359031&_nc_sid=8b3546

```

thank you!

---

<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: [October 20, 2023, 12:55am UTC](https://community.glideapps.com/t/any-way-to-upload-files-from-an-image-url-field-to-a-glide-image-field/67096/6 "2023-10-20T00:55:44Z")

</div>

That URL has a ig\_cache\_key value that I think might make it temporary. There’s a bunch of other IDs that might contribute to that.

@MegannLock has the right approach there.

Say for this post:

```auto
https://www.instagram.com/p/CyWn_tQyKAH/

```

The image link (for the first image only anyway) would be:

```auto
https://www.instagram.com/p/CyWn_tQyKAH/media?size=l

```

---

<div class="post-metadata">

### Author: ![Airbid](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/airbid/32/60953_2.png) [@Airbid](https://community.glideapps.com/u/Airbid)
#### Post date: [October 20, 2023, 1:14am UTC](https://community.glideapps.com/t/any-way-to-upload-files-from-an-image-url-field-to-a-glide-image-field/67096/7 "2023-10-20T01:14:40Z")

</div>

> [@ThinhDinh](#):
>
> `/media?size=l`

interesting. When I do that with a post it changes the URL to what I had. In Glide, using a template using /media?size=l won’t work in rendering the thumbnails either, even though those are valid urls. Really what it needs to be is a way that it will upload the image from the image url and turn it into a glide image. Any other ideas?

---

<div class="post-metadata">

### Author: ![Jamessmith0901](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jamessmith0901/32/64248_2.png) [@Jamessmith0901](https://community.glideapps.com/u/Jamessmith0901)
#### Post date: [October 20, 2023, 3:11am UTC](https://community.glideapps.com/t/any-way-to-upload-files-from-an-image-url-field-to-a-glide-image-field/67096/8 "2023-10-20T03:11:32Z")

</div>

You can try to create a new sheet in your Google Sheets or Excel file, add a column for the Instagram URLs, and create a formula to extract the image URL from the Instagram URL. Then you can link this sheet to your Glide app as a data source and create a new image component to display the extracted image URL.

---

<div class="post-metadata">

### Author: ![Airbid](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/airbid/32/60953_2.png) [@Airbid](https://community.glideapps.com/u/Airbid)
#### Post date: [October 21, 2023, 12:51am UTC](https://community.glideapps.com/t/any-way-to-upload-files-from-an-image-url-field-to-a-glide-image-field/67096/9 "2023-10-21T00:51:15Z")

</div>

so I tried that but the image component in glide says image not found (even though in sheets it was rendered)  
 ![Screen Shot 2023-10-20 at 8.50.56 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/a/faf68ce6707ec55bf9f8ef485e8d5c131bf53ed6.jpeg)

 ![Screen Shot 2023-10-20 at 8.50.47 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/d/bd2fe7184670203cc9a41dd756cd8f17b07ffd89.jpeg)

---

<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: [October 21, 2023, 12:59am UTC](https://community.glideapps.com/t/any-way-to-upload-files-from-an-image-url-field-to-a-glide-image-field/67096/10 "2023-10-21T00:59:10Z")

</div>

Is that the “displayUrl” column?

The format I gave you earlier works just fine with an image component.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/1/21979a644f6b3519c4d59f00504b8e3cfb74a33c.jpeg)

Have you tried creating a template column with that format?

---

<div class="post-metadata">

### Author: ![Airbid](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/airbid/32/60953_2.png) [@Airbid](https://community.glideapps.com/u/Airbid)
#### Post date: [October 21, 2023, 1:13am UTC](https://community.glideapps.com/t/any-way-to-upload-files-from-an-image-url-field-to-a-glide-image-field/67096/11 "2023-10-21T01:13:44Z")

</div>

ahhhh yes it works now there was an extra dash in the template column. Thank you so much

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)
#### Post date: [October 28, 2023, 1:13am UTC](https://community.glideapps.com/t/any-way-to-upload-files-from-an-image-url-field-to-a-glide-image-field/67096/12 "2023-10-28T01:13:50Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
