# Set Image from an API - URL

**URL:** <https://forum.bubble.io/t/set-image-from-an-api-url/215958>\
**Category:** Questions\
**Created:** [July 18, 2022, 4:24pm UTC](https://forum.bubble.io/t/set-image-from-an-api-url/215958 "2022-07-18T16:24:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rolfvanroot](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/rolfvanroot/32/137865_2.png) [@rolfvanroot](https://forum.bubble.io/u/rolfvanroot)\
**Post date:** [July 18, 2022, 4:24pm UTC](https://forum.bubble.io/t/set-image-from-an-api-url/215958/1 "2022-07-18T16:24:00Z")

</div>

Hi, I am using Bubble to show a list of blog posts in a repeating component, via an API call.

For text properties I got it running. (it shows blog post titles, main body text. etc.)  
Each blog post has an image, stored in a different DB. The API returns the URL the image is hosted at, not the image data.  
I also added a repeating images component - the dynamic image property is to be filled with a image data, not an image URL, as far as I understand.  
So my question is how can I show the images from the API path (like ![](), rather loading the image into Bubbles DB.

thanks for any pointers.

---

<div class="post-metadata">

**Author:** ![cafraaa](https://avatars.discourse-cdn.com/v4/letter/c/e9a140/32.png) [@cafraaa](https://forum.bubble.io/u/cafraaa)\
**Post date:** [July 18, 2022, 11:28pm UTC](https://forum.bubble.io/t/set-image-from-an-api-url/215958/2 "2022-07-18T23:28:40Z")

</div>

Hi,  
I resolved the same problem on my program. I have a Xano backend which requires an API to pass information to the front end.  
If your image is stored as a URL in the database you just need to set the dynamic image source to the URL of the image from the API return.

Image element:  
 ![Screen Shot 2022-07-19 at 9.21.53 am](https://us1.discourse-cdn.com/bubble/original/3X/b/9/b91045c13aeb14f25b841d6199f35bac206203be.png)

Parent Group Source:  
 ![Screen Shot 2022-07-19 at 9.22.13 am](https://us1.discourse-cdn.com/bubble/original/3X/f/7/f7d7f4bca6bd97c64c177389a7449d1cbcb415e6.png)

Front End:  
 ![Screen Shot 2022-07-19 at 9.24.03 am](https://us1.discourse-cdn.com/bubble/original/3X/8/b/8b6d3512c2ee45c1adc2dcd30121177a38aa9a71.png)

Let me know if you have any questions or issues with that,

Michael Cafra,  
Pitch VC MVP  
[https://www.pitchvc.co/mvp-app-dev](https://www.pitchvc.co/mvp-app-dev)

---

<div class="post-metadata">

**Author:** ![rolfvanroot](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/rolfvanroot/32/137865_2.png) [@rolfvanroot](https://forum.bubble.io/u/rolfvanroot)\
**Post date:** [July 20, 2022, 9:56am UTC](https://forum.bubble.io/t/set-image-from-an-api-url/215958/3 "2022-07-20T09:56:14Z")

</div>

Thanks for your help I got it working!
