change image display according to new json data structure