# Public Image URL

**URL:** <https://community.triggre.com/t/public-image-url/503>\
**Category:** Support\
**Created:** [September 13, 2023, 10:25am UTC](https://community.triggre.com/t/public-image-url/503 "2023-09-13T10:25:59Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![melissa](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.triggre.com/melissa/32/763_2.png) [@melissa](https://community.triggre.com/u/melissa)\
**Post date:** [September 13, 2023, 10:26am UTC](https://community.triggre.com/t/public-image-url/503/1 "2023-09-13T10:26:00Z")

</div>

Hello,

I’m using an API that requires a public image URL. I’d like to acquire public URLs for the images I upload in Triggre to use them with the API. Is this possible?

Thank you in advance,  
Melissa

---

<div class="post-metadata">

**Author:** ![Jochem](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.triggre.com/jochem/32/91_2.png) [@Jochem](https://community.triggre.com/u/Jochem)\
**Post date:** [September 14, 2023, 8:00am UTC](https://community.triggre.com/t/public-image-url/503/2 "2023-09-14T08:00:53Z")

</div>

Hi Melissa,

Yes that is possible. Although you need a bit of a workaround.  
The url that you get from the public image should be converted to a picture.  
You can do that by calling “an incoming API”

So,  
You receive the url from the API, like:  
“images”: [  
{  
“id”: 792,  
“src”: “[https://example.com/wp-content/uploads/2017/03/test.jpg](https://example.com/wp-content/uploads/2017/03/test.jpg)”,  
},

Then call a connection Triggre in your application named:  
“Convert url to picture”  
Input: id (number, id in example), file (url, src in example)  
Create flowpart “Convert url to picture” and add picture to id

Important:  
Format url in request as { “Url”: “[https://some.image](https://some.image)”}

Attached an example application where this is done.  
[Save convert to picture version.triggre](https://community.triggre.com/uploads/short-url/sSQeDbS0D88aijAYd7zei7NGXaY.triggre) (1.5 MB)

---

<div class="post-metadata">

**Author:** ![melissa](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.triggre.com/melissa/32/763_2.png) [@melissa](https://community.triggre.com/u/melissa)\
**Post date:** [September 18, 2023, 7:40am UTC](https://community.triggre.com/t/public-image-url/503/3 "2023-09-18T07:40:31Z")

</div>

Hi Jochem,

Thanks for your response! However, this is not exactly what I meant. In Triggre, I want to be able to upload an image and receive a public URL for it that I can include in an API.

Melissa

---

<div class="post-metadata">

**Author:** ![Jochem](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.triggre.com/jochem/32/91_2.png) [@Jochem](https://community.triggre.com/u/Jochem)\
**Post date:** [September 18, 2023, 12:31pm UTC](https://community.triggre.com/t/public-image-url/503/4 "2023-09-18T12:31:19Z")

</div>

Hi Melissa,

Allright, I know what you mean. Good question. I will come back to that!

---

<div class="post-metadata">

**Author:** ![ronald](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.triggre.com/ronald/32/110_2.png) [@ronald](https://community.triggre.com/u/ronald)\
**Post date:** [September 19, 2023, 7:22am UTC](https://community.triggre.com/t/public-image-url/503/5 "2023-09-19T07:22:56Z")

</div>

Curious for a solution!

---

<div class="post-metadata">

**Author:** ![Jesse](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.triggre.com/jesse/32/88_2.png) [@Jesse](https://community.triggre.com/u/Jesse)\
**Post date:** [September 19, 2023, 9:01am UTC](https://community.triggre.com/t/public-image-url/503/6 "2023-09-19T09:01:42Z")

</div>

Hi @melissa,

Currently we don’t support publicly available images; the reason is that this would be a security breach. If any image that is available in your Triggre application would be public, that could lead to problematic situations.

We are working on ways that you can use stored images and files using the Web API, which would open up different solutions (that are more elegant than what I have come up with for now). Whether we will support completely public images such as for your case, is not sure yet. It depends on whether we can handle the security risks in a simple, transparent way for you as a designer.

**Solution**  
That being said, I might have found a workaround. You can use Dropbox to store images for free, using Zapier. These are then publicly available (through the Dropbox ‘Share link’), and you can store this URL in Triggre. Here’s how to create such a solution:

1. Create a data item named _Public image_ that stores the files you want have publicly available. Give it an _Image_ property, a _Number sequence_ (name this one ‘ID’) and a _URL_ property. The URL will store the publicly available link and the number is used to identify the item.

2. Add a flow part named _Store URL for public image_. Add a _URL_ and a _Number_ (this is the ‘ID’ for the item) as input.

3. Now add a _Look up_ action, that searches for the _Public image_ item with the _ID_ from the input. There will always only be one such item, since each item gets a unique number automatically.

4. After the look up action, add an _Edit action_ and store the _URL_ from the input in the data item you looked up. End the flow part.

5. Create an automation flow named _Store public image URL_, with a _URL_ and a _Number_ (this is the ‘ID’ for the item) as input (same as for the flow part you created).

6. Add the created flow part named _Store URL for public image_ to your automation flow, and supply the _ID_ and _URL_ as inputs. End the automation flow after this flow part.

7. Publish your application and create a _Public image_ item. (You need an extra user flow to do this, which can be created automatically. All it needs to do is store the image in the data item.)

8. In Zapier, create a Zap that starts when a new _Public image_ is created.

9. Add a Dropbox step to this Zap, to store the file.

10. Add a Triggre action to your Zap, that starts an automation flow. Choose the _Store public image URL_ automation flow. As inputs, supply the ID you got from the start of the Zap, and as the URL use the _Share link_ from the Dropbox action.

**Result**  
When you add a _Public image_ by uploading an image in your application, the Zap will be triggered and upload the image to Dropbox. Then it will send back the URL for the image that you can use publicly, back to Triggre and store it in the item.

I haven’t created the application as I described it here, so there might be a small error in my thinking. However, this solution should work and I hope that this is a solution for your case.

---

<div class="post-metadata">

**Author:** ![melissa](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.triggre.com/melissa/32/763_2.png) [@melissa](https://community.triggre.com/u/melissa)\
**Post date:** [September 19, 2023, 10:13am UTC](https://community.triggre.com/t/public-image-url/503/7 "2023-09-19T10:13:50Z")

</div>

Hi Jesse,  
Thanks for your response. We’ve successfully resolved the issue by utilizing Zapier as well.

Kind regards,  
Melissa Barneveld.

---

<div class="post-metadata">

**Author:** ![Jesse](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.triggre.com/jesse/32/88_2.png) [@Jesse](https://community.triggre.com/u/Jesse)\
**Post date:** [September 19, 2023, 12:05pm UTC](https://community.triggre.com/t/public-image-url/503/8 "2023-09-19T12:05:08Z")

</div>

Hi @melissa,

Great to hear that you have found a solution. I hope our considerations regarding security were clear. It is a topic we take extremely seriously due to the nature of data some customers store in their Triggre applications.

If there are any tips regarding the solution you created, that may also benefit others, please share them in this thread.

Good luck on building the rest of your solution!

---

<div class="post-metadata">

**Author:** ![Jochem](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.triggre.com/jochem/32/91_2.png) [@Jochem](https://community.triggre.com/u/Jochem)\
**Post date:** [September 20, 2023, 6:17am UTC](https://community.triggre.com/t/public-image-url/503/9 "2023-09-20T06:17:18Z")

</div>

Hi @melissa,

Jesse was faster than to respond and I also see that you already came up with a solution.  
But I still want to share my solution with Zapier:

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/triggre/original/1X/ecbf65b7eabff5bce622cc5d4928981ec55a2c32.png)

I simply connect Triggre with Triggre.  
So, when I add a new record to a table (step 1)  
Then I want connect to the created flow “Receive file” in my example (step 2).  
The flow has two inputs: file (file) and url (url) which update the file.

Then I use the file from Triggre as an input for the url.

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/triggre/original/1X/b6083792609f81bdb15b1dc59506a9303596d22e.png)

After this, the file is converted from file to public url.

---

<div class="post-metadata">

**Author:** ![ronald](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.triggre.com/ronald/32/110_2.png) [@ronald](https://community.triggre.com/u/ronald)\
**Post date:** [November 17, 2024, 9:30pm UTC](https://community.triggre.com/t/public-image-url/503/10 "2024-11-17T21:30:08Z")

</div>

In the new version of the Zapier connection, the solution Jochem provided does not seem to work anymore.

After 1+ year, is there another way to send images to an external service, in this case Duda?

---

<div class="post-metadata">

**Author:** ![Jochem](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.triggre.com/jochem/32/91_2.png) [@Jochem](https://community.triggre.com/u/Jochem)\
**Post date:** [November 19, 2024, 2:02pm UTC](https://community.triggre.com/t/public-image-url/503/11 "2024-11-19T14:02:45Z")

</div>

Hi Ronald,

Since we have updated Zapier this works a bit different but still you can use zapier to send this file. You can create a zap in Triggre and use this zap to send this file.

Till this date there is no other way to send images.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/triggre/original/1X/367281c6ef0a1cef3dd636979e56e8a6918e707f.png) [@system](https://community.triggre.com/u/system)\
**Post date:** [November 22, 2024, 6:03pm UTC](https://community.triggre.com/t/public-image-url/503/12 "2024-11-22T18:03:33Z")

</div>

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