[Chat] Add sending images to mobile chat.

Forge Component
Published on 2015-11-24 by Hélio Dolores
35 votes
Published on 2015-11-24 by Hélio Dolores

In inline chat it is possible to send images. I need to add sending images functionality to Mobile chat Web Screen - what is the best way to do it?
Thank you.

Best regards,
Hi Mykola,

When I did the mobile version of the chat component I left some features out, mostly because of time restrictions. Unfortunately the Upload was one of those features, but the good news is that the server side code is already implemented.

As you know, iOS does not allow you to access the file system, but by adding an input (type=file) the page will pop up a phone dialog to the user. You can also set the "accept" attribute if you want to upload just images (accept=image/*).

Please take a look at the Client.js script and you'll find the handler to send the file to the server.

I'm sorry but I have no intentions to implement these missing mobile features in the current version of the platform because v10 will be focused on mobile and will be a much better fit for this app.

best regards,