gugutab / TvOverlay

114 stars 3 forks source link

Image not displaying #1

Closed nwithan8 closed 11 months ago

nwithan8 commented 11 months ago

Including an image field is not displaying the image in the popup.

gugutab commented 11 months ago

Hi @nwithan8 ! Can you provide the code your using on configuration.yaml and the automation/script where you is trying to send an image notigfication?

This is a simple action sending notification with image that is working on my setup:

service: notify.[DEVICE_NAME] data: message: Image sample data: image: https://picsum.photos/300/300

nwithan8 commented 11 months ago

Hi @nwithan8 ! Can you provide the code your using on configuration.yaml and the automation/script where you is trying to send an image notigfication?

This is a simple action sending notification with image that is working on my setup:

service: notify.[DEVICE_NAME] data: message: Image sample data: image: https://picsum.photos/300/300

service: notify.tv_overlay_notify_bedroom_chromecast
data:
  message: "message"
  title: "title"
  data:
    image: IP_ADDRESS:8123{{ PUBLICLY_ACCESSIBLE_IMAGE_URL }}
    color: "#B00020"
    seconds: "10"
enabled: true
gugutab commented 11 months ago

This code is working for me. Are you using the "Default" notification layout? "Minimalist" and "Icon only" does not display images, unless you customize it (Premium users only). If that's not the problem, please share the tvoverlay notify on configuration.yaml

nwithan8 commented 11 months ago

Ah yes, that was it, had it set to "Minimalist". Working now, thanks for your help!