Solved: Publish local image via notify twitter

hi there,

is it possible to send local JPG image to twitter?

I can send notification without image, but when I try to add image, action called but no tweet published.

here is my code:

service: notify.twitter_mesaj
  message: >-
    Bugün İstanbul'da gün doğumu:
    {{as_timestamp(states.sun.sun.attributes.next_rising) |
    timestamp_custom("%H:%M:%S")}} | gün batımı:
    {{as_timestamp(states.sun.sun.attributes.next_setting) |
    timestamp_custom("%H:%M:%S")}} |  En yüksek sıcaklık
    {{states.sensor.bugun_hava_sicakligi.state}} °C | USD:
    {{states.sensor.usd_alis.state}} / {{states.sensor.usd_satis.state}} | EUR:
    {{states.sensor.eur_alis.state}} / {{states.sensor.eur_satis.state}} | CAD:
    {{states.sensor.cad_alis.state}} / {{states.sensor.cad_satis.state}}
     media: /config/tmp/weather-istanbul.jpg

Problem has been solved:

I just put this code to configuration.yaml file

    - /config/tmp

and put the image to this folder /config/tmp.

Problem solved