It shouldn't have the (.) either.
$eventfile = "events/$event_id/image01.jpg";
Because if it did, you would be looking for files that looked like.
events/$event_id/image01.jpgevents/$event_id/image01.jpgevents/$event_id/image01.jpgevents/$event_id/image01.jpgevents/$event_id/image01.jpg