Added post api for images