Such a photo is usually required for a resume or CV more than in a biodata, but there are no rules that say you cannot attach one in your biodata as well.