store image dimensions