catch errors if getting invalid json
reset status on error
use absolute path for local images