parse JSON and create images