loading from json, image loading