The image is very fuzzy, but it possible to see that the two major party nominees were in the top line on the ballot (each with multiple party lines). (thirdpartypolitics.us)
New York election law allows candidates to run on multiple party lines in the general election, but the party has the right to refuse the validation of nominating petitions for a candidate not enrolled in the party. (poststar.com)
Candidates can run under multiple party lines in New York. (ballotpedia.org)