Add an example of how to save images in localstorage for offline use