The way they solve this issue in court is having the photographer lay a foundation by swearing to the authenticity of the image.