In the 19th century Europeans experimented with stereoscopic viewers, a technology for creating impressive 3d pop-effects. As faithful readers know, we haunt every medium we make; naturally there was stereo creepiness.
These images of ghastly spirits spooking the wits out of people were created by the London Stereoscopic Company and sold as stereographic cards which, when viewed through a special viewer, became remarkably sharp and eye-popping three-dimensional images.
The ghostly figures were achieved using double exposures and other photographic trickery — an impressive level of technical mastery for the still-young medium of photography.
Though these particular photos were created as mere sources of comical entertainment, just a few years later photographer William H. Mumler appeared, claiming the ability to capture actual ghosts on film.
Here's a different example, perhaps closer to Pumpkinhead:
(thanks to Jesse Walker Jesse Walker)