Making storage of images not temporary