I suspect that instead of them "giving" the photos to the facial recognition firm they sold them. Those photos and the PII data associated with them are the only things of value that a site like OKCupid controls.
You are wrong, the article discusses this in detail.
The company was run by someone on the board of directors for ok cupid so it likely was just given
> But even if they had no “commercial agreement,” Zeiler [Clarifai CEO] told the Times that his company gained access to user photos because some of OkCupid’s founders invested in Clarifai.
And
> In September 2014, the CEO of Clarifai, Inc. e-mailed one of OkCupid’s founders requesting that Humor Rainbow give Clarifai, Inc. (i.e., the Data Recipient) access to large datasets of OkCupid photos. Despite not having any business relationship with Humor Rainbow, the Data Recipient sought Humor Rainbow’s assistance because each of OkCupid’s founders, including Humor Rainbow’s President and Match Group, LLC’s CEO, were financially invested in the Data Recipient.