Whether to add a photo or use a company form depends on the employer. Photo rules, what the law bans, blind hiring, practice abroad, file tips.
There is no single right answer to whether a resume should include a photo or which format to use. If a company has set an application form or input fields on its recruitment site, following that form exactly is the basic rule.