Beautiful Jim Key Spelling “St. Elmo” at the “World’s Fair” St. Louis

Illustration in Master St. Elmo, the Autobiography of a Celebrated Dog (1904)
Questions:
What do you think the horse, Beautiful Jim Key, is doing in this photograph? How does this compare to the author’s description in the book?