saving images from news on localstorage as base64