Add class for photo