Added ability to send images via the api