Short answer: you don't need a photo code. Codes come from UK booths and shops; in Canada you add a digital photo of your own during the online application instead, which GOV.UK allows (GOV.UK: Get a passport photo). Don't use a local passport photo shop's print or file as it is: they make Canada's own size, 50×70 mm, to different rules.
GOV.UK's photo and countersigning pages checked on 3 November 2026. Fees and rules change, so check the linked GOV.UK page before you pay.

| UK passport (online) | Canada's own passport | |
|---|---|---|
| Size | At least 600×750 px, 50 KB to 10 MB; prints 45×35 mm | 50×70 mm |
| Background | Plain and light-coloured | white or off-white |
| Glasses | Only if you have to, no tint, no glare | Allowed if clear |
| Source | GOV.UK: Get a passport photo | canada.ca |
So a photo made for Canada's rules has the wrong shape and head size for a UK passport. Take a new one for the UK rules, or have a local shop take one and get the digital file, then check it against the UK rules.
For a paper application from abroad, your countersignatory can hold a current British, Irish, other EU, US or Commonwealth passport, so someone with a passport from Canada, a Commonwealth country, which GOV.UK accepts. If it isn't British or Irish, include a colour photocopy of its photo page; the application is faster with a British or Irish passport holder (GOV.UK: Countersigning passport applications and photos). For the online check, GOV.UK's page says the person confirming must live in the UK and have a UK or Irish passport (GOV.UK: Confirm someone's identity online).
Picproved makes the UK upload file from a photo taken anywhere, checks it against the GOV.UK rules first, and Upload doctor explains an upload error. HM Passport Office still makes the final decision.
Or make it at home. Picproved costs £5.99 (free while we launch) for one person's photo in every size you need, and it checks the size, background, head size and face rules before you save. The office still makes the final decision. Make your United Kingdom Passport (online) photo