Fixed code to grab picture of event.
Resolve merge conflict.