add class to photo, things centered