Add images to localStorage