#79: pulling in thumbnail logic