# Send image file or file location along with text output

**URL:** <https://forum.rasa.com/t/send-image-file-or-file-location-along-with-text-output/1470>\
**Category:** Rasa Open Source\
**Created:** [September 28, 2018, 6:47am UTC](https://forum.rasa.com/t/send-image-file-or-file-location-along-with-text-output/1470 "2018-09-28T06:47:18Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Sandy](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@Sandy](https://forum.rasa.com/u/Sandy)\
**Post date:** [January 18, 2019, 5:08am UTC](https://forum.rasa.com/t/send-image-file-or-file-location-along-with-text-output/1470/7 "2019-01-18T05:08:24Z")

</div>

Hi Soumya,

Actually,my problem was not really to send it to utter\_template. I have an chatbot where I want the relevant image to be along the bot window and only the text part gets written in bot window.

so my utter\_template looks like- the temperature for today is {temp} || {img\_temp\_chart}

{imp\_temp\_chart} holds the path to the temperature chart file

So just before I sent the output to the chatbot window on the browser, I split the above output by ‘||’ , take first part and pass on to the bot window,where as the {img\_temp\_chart} part is used to grab the required file to be displayed along the bot window

Hope this helps. Let me know if you have any more questions.

Best, Shruti

---

_[View the full topic](https://forum.rasa.com/t/send-image-file-or-file-location-along-with-text-output/1470)._
