Add image uploading API