Kyar
1
Hello,
I’ve mounted a network share to read images, I can see them well using the web page and navigating to:
Media → My Media → MEDIA → picture.png
However, I cannot add the image to an image card:
yaml
type: picture
image: /media/MEDIA/photo1.png
In SSH, I can see the folder here: ls /media/MEDIA/picture.png
I’m getting a 401 error when inspecting the page.
jeffcrum
(Jeff Crum)
2
Images are served from /config/www as /local.
You would have to set a symbolic link in /config/www pointing to your share. But, see in this topic that the HA devs won’t allow it to be included. You can see in the topic that it is doable, but you would have to make the change locally after each HASS update.
How to follow symlink in www folder - Configuration - Home Assistant Community (home-assistant.io)
Alternatively, I store the images I want to host in HA in /config/www/images.
1 Like
Kyar
4
Now I’ve copied everything to /config/www/media/photos.
I can view the photos fine; I’d like to use WallPanel to display my photos.
With this configuration:
yaml
wallpanel:
enabled: true
hide_toolbar: true
hide_sidebar: true
fullscreen: false
image_order: random
display_time: 30
image_url: /
It works, but it takes all the other photos. Which path should I use here to only use this directory: /config/www/media/photos?
Thank you