store image and location