As far as I know for a photon that's moving at the speed of light (obviously) time comes to a halt and space contracts to a point, making all travels instant from its perspective. Now this is the part I might have understood wrong, so please correct me if what I've said isn't true.
Yet supposing it's true, then how can a photon differentiate between travelling say one meter and being absorbed by some electron and going through space unobstructed for 10 billion light years? To me it seems like both of these travels are instant from its perspective, yet we know that one is shorter and the other is longer from the perspective of an observer who is slower than light.