Refine viewer photo loading logic on event