# View a jpg image on a dashboard

**URL:** <https://discourse.nodered.org/t/view-a-jpg-image-on-a-dashboard/78933>\
**Category:** Dashboard\
**Tags:** node-red-dashboard\
**Created:** [3 June 2023 23:16 UTC](https://discourse.nodered.org/t/view-a-jpg-image-on-a-dashboard/78933 "2023-06-03T23:16:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jhontan14](https://avatars.discourse-cdn.com/v4/letter/j/2acd7d/32.png) [@Jhontan14](https://discourse.nodered.org/u/Jhontan14)\
**Post date:** [3 June 2023 23:16 UTC](https://discourse.nodered.org/t/view-a-jpg-image-on-a-dashboard/78933/1 "2023-06-03T23:16:23Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/8/f858d53805c9328d2a02cb1255aa570a832e73b1.png)

Hello, I have a node "http request" in which I send certain numbers and it returns an image in jpg format..  
I would like to know if there is a way to see this image on the dashboard? Thank you

---

<div class="post-metadata">

**Author:** ![smanjunath211](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/smanjunath211/32/95742_2.png) [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Post date:** [4 June 2023 00:23 UTC](https://discourse.nodered.org/t/view-a-jpg-image-on-a-dashboard/78933/2 "2023-06-04T00:23:21Z")

</div>

try here.

> [@Changing a Dashboard Image upon boolean MQTT input](https://discourse.nodered.org/t/changing-a-dashboard-image-upon-boolean-mqtt-input/78874):
>
> Hi, I'm fairly new to NodeRed, and I've been scratching my head on how to change a picture upon a boolean input. The thing that I want the program to do is display a certain image if the input is true, and display another image in case the input is false. In the picture, the two pictures I want to be alternating are the two with the forklifts in it, where the air vent on the top right is open or closed. My question is if this can be done with any kind of bool…

---

<div class="post-metadata">

**Author:** ![Jhontan14](https://avatars.discourse-cdn.com/v4/letter/j/2acd7d/32.png) [@Jhontan14](https://discourse.nodered.org/u/Jhontan14)\
**Post date:** [4 June 2023 01:11 UTC](https://discourse.nodered.org/t/view-a-jpg-image-on-a-dashboard/78933/3 "2023-06-04T01:11:45Z")

</div>

Yes, but every time I make a request it is changed according to the image that corresponds to a certain code, it is not saved (I suppose), I just want it to be able to be seen on the dashboard

---

<div class="post-metadata">

**Author:** ![smanjunath211](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/smanjunath211/32/95742_2.png) [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Post date:** [4 June 2023 01:42 UTC](https://discourse.nodered.org/t/view-a-jpg-image-on-a-dashboard/78933/4 "2023-06-04T01:42:01Z")

</div>

It would help if you share the part of code generating an image. someone with expertise in this area would help.  
you can try saving the image by write file node and then use that file to show on dashboard may be?

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [4 June 2023 06:27 UTC](https://discourse.nodered.org/t/view-a-jpg-image-on-a-dashboard/78933/5 "2023-06-04T06:27:13Z")

</div>

Hi @Jhontan14,

This question has come up numerous times before. For example try [this](https://discourse.nodered.org/t/dashboard-image-from-msg-payload/2317/3) one.

Bart

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [18 June 2023 06:27 UTC](https://discourse.nodered.org/t/view-a-jpg-image-on-a-dashboard/78933/6 "2023-06-18T06:27:43Z")

</div>

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