Help us improve DimagKaDahi?

With your permission, Google Analytics measures anonymous page visits and successful tool actions. We never send images, signatures, filenames or text you enter.

Privacy policy

Why online forms reject your photo, and how to fix it

Troubleshooting6 min readUpdated 23 Aug 2026By DimagKaDahi

An upload that fails at the last step of a long form is one of the most frustrating things on the internet, and the error message is almost never specific enough to act on. Portals tend to say the photo is invalid without saying which rule it broke. There are only six rules that commonly fail, and each has a different fix.

Key takeaways

  • Only six rules commonly fail: maximum file size, minimum file size, pixel dimensions, aspect ratio, file format, and a requirement that changed since you last checked.
  • File size and pixel dimensions are separate requirements — meeting one tells you nothing about the other.
  • Always resize first and compress second, otherwise the compression work is discarded when the image is scaled.
  • If a form states a KB range, aim for the middle of it rather than just under the ceiling.

1. The file is larger than the maximum size

This is the most common rejection by a wide margin. A photo straight from a phone camera is typically 2 MB to 8 MB, and forms frequently cap uploads at 50 KB — roughly a hundredth of that. No amount of re-taking the photo will fix it; the file has to be compressed.

The trap is that most compressors ask you to pick a quality percentage rather than a target size, so you compress, check, and repeat. Work backwards instead: set the KB limit the form states and let the tool find the quality that fits underneath it.

2. The file is smaller than the minimum size

Plenty of forms specify a range — 20 KB to 50 KB is common — and reject files below the lower bound as well as above the upper one. This catches people who over-compress to be safe, and it catches screenshots, which are often tiny.

If a form gives a range, aim for the middle of it rather than just under the ceiling. That leaves room for the portal to re-encode your file without pushing it out of bounds.

3. The pixel dimensions are wrong

File size and dimensions are separate requirements, and meeting one does not mean meeting the other. A form asking for 200×230 pixels is describing the shape and resolution of the image, not how many kilobytes it occupies.

Resize first, then compress. Doing it the other way round means the compression work is thrown away when the image is scaled, and you end up with a file that is both the wrong size and softer than it needed to be.

4. The aspect ratio is wrong, so the crop looks off

Passport-style requirements are usually taller than they are wide. If your original is square or landscape, something has to be cropped, and an automatic centre crop often cuts off the top of the head or shifts the face off-centre.

Crop deliberately with a preview so your head and shoulders sit inside the frame with a little space above the head. Most rejections described as 'photo not clear' are actually framing problems.

5. The format is not the one requested

If a form asks for JPEG, send JPEG, even when another format would produce a smaller file. Some portals check the actual file header rather than the extension, so renaming a PNG to .jpg does not work and will fail validation.

WebP is smaller than both JPEG and PNG for most photographs, but many government portals do not accept it. Use it only when the form explicitly allows it.

6. The requirement itself changed

Requirements are revised between recruitment cycles, and guidance copied from a blog post or a coaching-centre PDF goes stale quickly. A photo that was accepted for last year's form can be rejected this year.

Read the current official notice for your specific form before you edit anything. Any preset — ours included — is a convenience, not a substitute for the notice.

Fix it with these tools

Common questions

Still stuck on something?

The follow-up questions people ask most often after reading this guide.

Ask us directly

Most portals run several checks at once and return a single generic message. Work through the rules in order: file size against both the minimum and maximum, pixel dimensions, format, and then framing. One of those is almost always the cause.

Resize first, then compress. Scaling an image changes its file size, so compressing before resizing means redoing the work and losing more quality than necessary.

Yes, with JPEG. Every save re-encodes the image and discards a little more detail. Always start from the original file rather than from a copy you have already compressed several times.