# Refresh image in Ignition perspective

**URL:** <https://forum.inductiveautomation.com/t/refresh-image-in-ignition-perspective/71494>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [March 23, 2023, 2:22pm UTC](https://forum.inductiveautomation.com/t/refresh-image-in-ignition-perspective/71494 "2023-03-23T14:22:01Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lukasz\_Wieckowski](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@Lukasz\_Wieckowski](https://forum.inductiveautomation.com/u/Lukasz_Wieckowski)\
**Post date:** [March 23, 2023, 2:22pm UTC](https://forum.inductiveautomation.com/t/refresh-image-in-ignition-perspective/71494/1 "2023-03-23T14:22:01Z")

</div>

Hello, I have questions about display images in Ignition Perspective. I am setting the source for an image component to: "https://server\_name/main/screens/NewImage.png". NewImage is constantly updated on remote server. But in Perspective session image component continues to show original PNG and update new only when I refresh webpage. Is it possible to update the image displayed in perspective without refreshing the page?

---

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [March 23, 2023, 2:31pm UTC](https://forum.inductiveautomation.com/t/refresh-image-in-ignition-perspective/71494/2 "2023-03-23T14:31:47Z")

</div>

Add a variable to url with a changing value like milliseconds. https://server\_name/main/screens/NewImage.png?v=1984355000

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [March 23, 2023, 2:33pm UTC](https://forum.inductiveautomation.com/t/refresh-image-in-ignition-perspective/71494/3 "2023-03-23T14:33:44Z")

</div>

> [@Lukasz\_Wieckowski](#):
>
> https://server\_name/main/screens/NewImage.png

Yep I do the same thing on PDFs with an expression

```auto
concat(
'http://testsite/003430.pdf?t=',
now(0)
)
```

---

<div class="post-metadata">

**Author:** ![Lukasz\_Wieckowski](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@Lukasz\_Wieckowski](https://forum.inductiveautomation.com/u/Lukasz_Wieckowski)\
**Post date:** [March 23, 2023, 3:09pm UTC](https://forum.inductiveautomation.com/t/refresh-image-in-ignition-perspective/71494/4 "2023-03-23T15:09:47Z")

</div>

I add a variable to url with changing value, but this doesn't solve me issue. Still the image does not refresh on the perspective screen. But I noticed that when i right click on the image and select open in new tab, the most recent image opens.

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [March 23, 2023, 3:55pm UTC](https://forum.inductiveautomation.com/t/refresh-image-in-ignition-perspective/71494/5 "2023-03-23T15:55:53Z")

</div>

I don't really like this method, but you could try setting the source to `''` then back to the correct source string and see if that forces a reload. However, I think the url with a time parameter should work. How did you set it up?

---

<div class="post-metadata">

**Author:** ![tebright1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tebright1/32/87405_2.png) [@tebright1](https://forum.inductiveautomation.com/u/tebright1)\
**Post date:** [July 2, 2025, 4:53pm UTC](https://forum.inductiveautomation.com/t/refresh-image-in-ignition-perspective/71494/6 "2025-07-02T16:53:34Z")

</div>

Was this ever solved? I have a database with an image that is being monitored. It updates every 5 minutes. The url on the image does not change. Only way to refresh the image is to reload the page.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 2, 2025, 5:00pm UTC](https://forum.inductiveautomation.com/t/refresh-image-in-ignition-perspective/71494/7 "2025-07-02T17:00:40Z")

</div>

You usually can include "throwaway" URL query parameters that are present solely to force a refresh. In your perspective session, you could use an integer session custom variable that increments when the image changes. Image components would include that var in an expression that constructs the URL.

---

<div class="post-metadata">

**Author:** ![tebright1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tebright1/32/87405_2.png) [@tebright1](https://forum.inductiveautomation.com/u/tebright1)\
**Post date:** [July 2, 2025, 5:02pm UTC](https://forum.inductiveautomation.com/t/refresh-image-in-ignition-perspective/71494/8 "2025-07-02T17:02:29Z")

</div>

Thank!. So I ended up doing the variable JPark recommended.

Added this variable to the image url. Worked!  
'&v='+toMillis(now(10000))

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 2, 2025, 5:05pm UTC](https://forum.inductiveautomation.com/t/refresh-image-in-ignition-perspective/71494/9 "2025-07-02T17:05:34Z")

</div>

That's going to hit your database every ten seconds for something that changes every five minutes. That's a lot of extra traffic. ☹

---

<div class="post-metadata">

**Author:** ![tebright1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tebright1/32/87405_2.png) [@tebright1](https://forum.inductiveautomation.com/u/tebright1)\
**Post date:** [July 2, 2025, 5:54pm UTC](https://forum.inductiveautomation.com/t/refresh-image-in-ignition-perspective/71494/10 "2025-07-02T17:54:08Z")

</div>

Changing to 5 minutes 10 seconds was just for testing. 🙂

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 2, 2025, 5:58pm UTC](https://forum.inductiveautomation.com/t/refresh-image-in-ignition-perspective/71494/11 "2025-07-02T17:58:11Z")

</div>

So you're ok with it updating as much as 5 minutes late? Using `now()` to produce a timestamp as the throwaway URL parameter is a terrible technique.

The throwaway param should be something that only changes when the image actually changes in the DB. And should be something identical across all sessions and tabs that look at that image, so that all other caching operaitons work like they should.

Do you control the image getting **into** the DB? Does each user look at a different image source? Or shared?
