method to add a Surface directly to the gallery, instead of a file path