# Return image or video from rasa-webchat?

**URL:** <https://forum.rasa.com/t/return-image-or-video-from-rasa-webchat/9483>\
**Category:** Rasa Open Source\
**Created:** [May 8, 2019, 1:08pm UTC](https://forum.rasa.com/t/return-image-or-video-from-rasa-webchat/9483 "2019-05-08T13:08:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chatz](https://avatars.discourse-cdn.com/v4/letter/c/b77776/32.png) [@chatz](https://forum.rasa.com/u/chatz)\
**Post date:** [May 8, 2019, 1:08pm UTC](https://forum.rasa.com/t/return-image-or-video-from-rasa-webchat/9483/1 "2019-05-08T13:08:09Z")

</div>

Hello everyone,

can anyone help me in order to return an image or a video from custom action in Python to webchat in browser?

Here is the link to the repository —\> [GitHub - mrbot-ai/rasa-webchat: A chat widget easy to connect to chatbot platforms such as Rasa Core](https://github.com/mrbot-ai/rasa-webchat)

I have tried all the formats shown in the [Read.me](http://Read.me), also I tried return\_message, return\_attachment, return\_custom\_message but it returns it only as a string or it returns nothing.

Any example also will be very helpful, Thank you very much

---

<div class="post-metadata">

**Author:** ![aidemo4clients](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@aidemo4clients](https://forum.rasa.com/u/aidemo4clients)\
**Post date:** [May 15, 2019, 7:42am UTC](https://forum.rasa.com/t/return-image-or-video-from-rasa-webchat/9483/2 "2019-05-15T07:42:44Z")

</div>

Hi, you need to update the message format which is expected at your webchat frontend
