# Image from RPi to dashboard

**URL:** <https://discourse.nodered.org/t/image-from-rpi-to-dashboard/40876>\
**Category:** Dashboard\
**Created:** [12 February 2021 16:03 UTC](https://discourse.nodered.org/t/image-from-rpi-to-dashboard/40876 "2021-02-12T16:03:01Z")\
**Posts on this page:** 15\
**Page:** 2

<div class="post-metadata">

**Author:** ![HZB](https://avatars.discourse-cdn.com/v4/letter/h/77aa72/32.png) [@HZB](https://discourse.nodered.org/u/HZB)\
**Post date:** [18 February 2021 15:16 UTC](https://discourse.nodered.org/t/image-from-rpi-to-dashboard/40876/21 "2021-02-18T15:16:23Z")

</div>

> [@zenofmud](#):
>
> Once again/ do you really have a folder called `Plant 1` ? ie with a blank in the name? Try changing the blank to an underscore in the address and in the folder name (i.e. rename the folder)

I renamed the folder to plant1 (removed the blank) but still no luck

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

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [18 February 2021 15:22 UTC](https://discourse.nodered.org/t/image-from-rpi-to-dashboard/40876/22 "2021-02-18T15:22:25Z")

</div>

I don't believe you want the `:1880` in that address

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [18 February 2021 15:47 UTC](https://discourse.nodered.org/t/image-from-rpi-to-dashboard/40876/23 "2021-02-18T15:47:38Z")

</div>

Also you say you renamed it to plant1 but in the url it is Plant1

---

<div class="post-metadata">

**Author:** ![HZB](https://avatars.discourse-cdn.com/v4/letter/h/77aa72/32.png) [@HZB](https://discourse.nodered.org/u/HZB)\
**Post date:** [18 February 2021 15:50 UTC](https://discourse.nodered.org/t/image-from-rpi-to-dashboard/40876/24 "2021-02-18T15:50:26Z")

</div>

already tried it

---

<div class="post-metadata">

**Author:** ![HZB](https://avatars.discourse-cdn.com/v4/letter/h/77aa72/32.png) [@HZB](https://discourse.nodered.org/u/HZB)\
**Post date:** [18 February 2021 15:50 UTC](https://discourse.nodered.org/t/image-from-rpi-to-dashboard/40876/25 "2021-02-18T15:50:59Z")

</div>

My typing mistake in the comments. It's Plant1

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [18 February 2021 15:53 UTC](https://discourse.nodered.org/t/image-from-rpi-to-dashboard/40876/26 "2021-02-18T15:53:46Z")

</div>

why are you putting `/home/pi/.node-red/` in the URL?

> [@Steve-Mcl](#):
>
> Have you tried using a browser like this `http://_PI_IP_:1800/_path_to_image` to check it is working?
> 
> ↑ where `_PI_IP_` is your PI IP address and `_path_to_image_` is the relative path to a image you have in `/home/pi/.node-red/A/`

↑ read that again. The key part being **relative path**

try `http://10.20.233.241:1880/Plant1/fe01.jpg`

---

<div class="post-metadata">

**Author:** ![HZB](https://avatars.discourse-cdn.com/v4/letter/h/77aa72/32.png) [@HZB](https://discourse.nodered.org/u/HZB)\
**Post date:** [18 February 2021 16:06 UTC](https://discourse.nodered.org/t/image-from-rpi-to-dashboard/40876/27 "2021-02-18T16:06:24Z")

</div>

> [@Steve-Mcl](#):
>
> why are you putting `/home/pi/.node-red/` in the URL?

So I copied my folder from Desktop to .node-red folder i know it sounds no logic but just to test. now my folder exists on both locations with same files

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

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [18 February 2021 16:10 UTC](https://discourse.nodered.org/t/image-from-rpi-to-dashboard/40876/28 "2021-02-18T16:10:41Z")

</div>

@HZB you say you copied your folder into the `.node-red` folder.

Looking at your previous posts, you have `httpStatic` set to `/home/pi/.node-red/A` - so do you mean you have copied it into the `A` sub directory?

Can you confirm:

1. exactly what value have you got `httpStatic` set to?
2. what is the full path on the filesystem to the image you are trying to access?

---

<div class="post-metadata">

**Author:** ![HZB](https://avatars.discourse-cdn.com/v4/letter/h/77aa72/32.png) [@HZB](https://discourse.nodered.org/u/HZB)\
**Post date:** [18 February 2021 16:19 UTC](https://discourse.nodered.org/t/image-from-rpi-to-dashboard/40876/29 "2021-02-18T16:19:01Z")

</div>

> [@knolleary](#):
>
> what value have you got `httpStatic` set to?

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/7/37385a5f5e6d4ea7873f86095d2bafb69dbadfe2.png)

> [@knolleary](#):
>
> what is the full path on the filesystem to the image you are trying to access?

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/f/9ff0c2306ce24f89776a8f37b6446801e3c4d90d.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/1/d190f65513b869349bcb0e999d45073627e90239.jpeg)

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [18 February 2021 16:20 UTC](https://discourse.nodered.org/t/image-from-rpi-to-dashboard/40876/30 "2021-02-18T16:20:21Z")

</div>

Based on that, I would expect the URL to be `http://10.20.233.241:1880/fe01.jpg`

---

<div class="post-metadata">

**Author:** ![HZB](https://avatars.discourse-cdn.com/v4/letter/h/77aa72/32.png) [@HZB](https://discourse.nodered.org/u/HZB)\
**Post date:** [18 February 2021 16:22 UTC](https://discourse.nodered.org/t/image-from-rpi-to-dashboard/40876/31 "2021-02-18T16:22:17Z")

</div>

Thanks a lot everyone. That's why i love this forum.

---

<div class="post-metadata">

**Author:** ![HZB](https://avatars.discourse-cdn.com/v4/letter/h/77aa72/32.png) [@HZB](https://discourse.nodered.org/u/HZB)\
**Post date:** [18 February 2021 16:25 UTC](https://discourse.nodered.org/t/image-from-rpi-to-dashboard/40876/32 "2021-02-18T16:25:17Z")

</div>

Just a small question any recommendations to fit a image in a space?  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/0/c0552f96a236bda97863c3f60dc3da6340e2163c.jpeg)

---

<div class="post-metadata">

**Author:** ![HZB](https://avatars.discourse-cdn.com/v4/letter/h/77aa72/32.png) [@HZB](https://discourse.nodered.org/u/HZB)\
**Post date:** [25 February 2021 18:42 UTC](https://discourse.nodered.org/t/image-from-rpi-to-dashboard/40876/33 "2021-02-25T18:42:03Z")

</div>

> [@knolleary](#):
>
> Based on that, I would expect the URL to be `http://10.20.233.241:1880/fe01.jpg`

Can i access a json file in a "file in" Node in a same way? i mean using URL mentioned above if json file is located in that folder.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [25 February 2021 19:00 UTC](https://discourse.nodered.org/t/image-from-rpi-to-dashboard/40876/34 "2021-02-25T19:00:44Z")

</div>

I'm sure in the time it took you to find this thread and post your question you could have tried it and discovered that yes you can. 😉

---

<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:** [11 March 2021 19:00 UTC](https://discourse.nodered.org/t/image-from-rpi-to-dashboard/40876/35 "2021-03-11T19:00:46Z")

</div>

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

[Previous page](https://discourse.nodered.org/t/image-from-rpi-to-dashboard/40876.md?page=1)
