json populating local storage, create image function to display images