I don’t think it’s required unless it is mentioned in the email. I haven’t heard about submitting photo for passport stamping.
If you have already submitted the vfs webform for passport pickup or dropoff for stamping, you should have received an email where all the necessary documents are...