adding content with json and jpg