In the mid-19th century, photographs with ghostlike figures became collectible amusements thanks to the invention of the stereoscope – a device that created three-dimensional optical illusions.