image upload/download api
    TODO: resize, imagemodel