How to photograph a ghost