Image, Imagination, and Cognition: Medieval and Early Modern Theory and Practice