You picked the file, pressed upload, and the portal refused it. The message was probably something like "invalid photograph" or just a red box with no explanation. Almost always the cause is one of a small number of things, and the one people check first is rarely the one that is wrong.
The usual causes, in the order worth checking
- The file is too large. The obvious one, and the one everybody fixes first.
- The file is too small. Forms often state a range, such as 20 KB to 50 KB, and a 6 KB file fails the lower end exactly as a 300 KB file fails the upper end. Because "make it smaller" is the advice everyone remembers, undershooting is common and the error message looks identical.
- The format is wrong. Many portals accept JPG only. A file that looks fine on your phone may be a PNG, a WebP or an HEIC, and renaming it to .jpg does not change what is inside it.
- The pixel dimensions are wrong. Some forms specify an exact width and height, or a shape. A file can be comfortably under the size limit and still be refused for being the wrong proportions.
- The photograph itself breaks a rule: a busy background, glasses, a shadow across the face, or the face too small in the frame.
A worked example
NADRA publishes photograph guidelines for its online applications, and they are a good illustration of how many rules sit behind one upload box. The stated file size is a maximum of 60 KB. Alongside that, the photograph must be no more than six months old, taken against a plain white background, framed so the face takes up 70 to 80 percent of the picture, with no glasses on, a neutral expression and the mouth closed. Head coverings are allowed, provided the face from the bottom of the chin to the top of the forehead and both edges of the face are clearly visible. A file can meet the 60 KB rule and still fail four of the others.
Other portals publish their own list. Find it before you resize anything, because fixing the size is pointless if the problem is the background.
Working through it
- Open the form’s own instructions and write down every requirement, not just the size.
- Check what the file actually is. On a phone, the share or details screen shows the real format and dimensions.
- Crop to head and shoulders first, so the face fills most of the frame.
- Then set the size. Aim just inside the limit, around 45 KB for a 50 KB cap, so you are clear of any minimum.
- Upload, and if it fails again change one thing at a time rather than everything at once.
If it still will not go through
- Rename the file to something plain and short, such as photo.jpg. Some older portals struggle with spaces, long names or non-English characters.
- Try a different browser. A refusal that happens instantly, before any upload progress, is often the browser or an extension rather than the file.
- Check whether the form wants a separate signature file with its own, smaller limit.
- If the page sat idle for a long time before you uploaded, the session may have expired. Reload and start again.
Keep the original photograph. Resizing creates a new file and leaves the original alone, so you can always crop differently and try again. If the photograph is of an ID document, write the purpose on the copy or in the message, and delete the files afterwards if you used a shared computer.