Lafayette police apologize for viral photo