An interim learner permit has no photo. A photo learner permit does.
The New York DMV issues a temporary learner permit (i.e. "interim learner permit") immediately after you pass the written examination at a DMV office. You will get a photo learner permit in the mail about two weeks later.
Before you can start your online 5-hour course, the NY DMV requires you to prove
you have a valid New York learner permit that includes your photograph.
If you have a temporary learner permit with no photo, you must wait until you
have a photo permit before you start your training.