switch to json
image download with a context object