Help with sending a Picture from a Addon with the external Adress and port forwarding

Hello,

i try to send a picture from my HA with the notify Service, the Problem is i want to send a picture from the Double-Take Addon.

in the Dokumentation is a example:

http://localhost:3000/api/storage/matches/{{trigger.to_state.attributes.match.filename}}?box=true&token={{trigger.to_state.attributes.token}}

when i use the adress, and test it IN my Network, it works i have acces but he doesnt sends the picture

action: notify.mobile_app_galaxyfold5
data:
  title: 📹 SmartHome
  message: Frigate Bilder Interne URL Test ...
  data:
    color: red
    image: >-
      http://localhost:3000/api/storage/matches/{{trigger.to_state.attributes.unknown.filename}}?box=true&token={{trigger.to_state.attributes.token}}
enabled: true
alias: Sende Bild an Handy - Interne URL

i tried it with the external adress too.

alias: Sende Bild an Handy - Externe URL
action: notify.mobile_app_galaxyfold5
data:
  title: 📹 SmartHome
  message: Frigate Bilder Externe URL Test ...
  data:
    color: red
    image: >-
      https://XXXXX.ui.nabu.casa:3000/api/storage/matches/{{trigger.to_state.attributes.unknown.filename}}?box=true&token={{trigger.to_state.attributes.token}}
enabled: true

but no Luck, i cant access the external adress in my Browser with the Port of the Addon, must i forward the port 3000 to my HA instance in the Router?

Or has someone another idea?

I do not think NabuCasa expose other service ports than the one HA is using, so you will have to port forward port 3000 and use you public IP or its urlname to get the picture that way.
Another way may be to first copy the picture to the HA storage folder with a script and then use the HA storage folder for public viewing.

Maybe you can also embed the picture instead in the notification message, but that I do not know how or if it possible.

I agree with @WallyR. Having the pic stored locally first is probably your best course of action.

then do something like this…