>> add thumbnail to events

I try to add a thumbnail without success
1. add an image to the event : no thumbnail
2. follow the tips https://premium.wpmudev.org/forums/topic/inserting-thumbnail-of-events-in-the-events-archive-page : no success , line 363's must be different since 2012

How can I do to get a thumbnail in the archive ?
Thank you