ImagePDF.Tools
Productivity

Why Online Forms Reject Your Photo (Six Checks, One Error Message)

N
NikolaLast updated on September 28, 2026 · 9 min read

Summary

Upload portals run several independent checks and report them all the same way. Here is each one, how to test it yourself, and the order to fix them in.

Four of the six checks an upload portal runs, each reporting the same generic error | ImagePDF.Tools | ImagePDF.Tools
Six independent checks, one error message, and no clue which one you failed.

You upload the photo. Red box. No explanation, or one so generic it could mean anything: invalid file.

So you compress it smaller and try again. Red box. You convert it to a different format. Red box. Somewhere around the fifth attempt it works, and you never find out which change fixed it.

Upload validators typically run six independent checks and report every failure identically. Here is each one, in the order worth testing them.

The Six Checks

CheckTypical ruleHow to test it
Maximum file sizeUnder 50KB, 100KB or 200KBRight click the file and read its size
Minimum file sizeOver 10KB or 20KBThe same, and it is easy to go under it
Pixel dimensionsExactly 200 x 230, or a rangeOpen it and read the dimensions
File formatJPEG only, sometimes JPEG or PNGCheck the real format, not the extension
Colour modeRGB, not CMYK or greyscaleRe-save from any normal editor to fix
FilenameNo spaces, accents or symbolsRename to letters, digits and hyphens
What a typical portal validates, and how each one fails.
⚠️

A minimum file size is the one nobody expects. Compress a photo down to 12KB to be safely under a 50KB cap and you can land under a 20KB floor, which fails with the same message as being too large.

Test Them in This Order

Each check is cheap to verify, and the order matters because fixing one can break another.

  1. 1.Dimensions first. If the form names exact pixels, satisfy those before anything else, because resizing changes the file size and would undo any compression work. Use the resize tool.
  2. 2.Format second. Re-save as JPEG if that is what is wanted. This also normalises the colour mode as a side effect.
  3. 3.File size third. Now compress, and aim between any stated minimum and maximum rather than as small as possible.
  4. 4.Filename last. Rename to something plain such as photo.jpg. It costs nothing and removes a whole class of failure.

The Extension Is Not the Format

This one catches people who did everything else right.

Renaming photo.png to photo.jpg changes the name and nothing else. The file still begins with the bytes that identify a PNG, and any validator worth the name reads those bytes rather than trusting the label.

A screenshot is the usual source of this. Screenshots are PNGs on most systems, so a screenshot of a photo, renamed, fails a JPEG-only check. Convert it properly with a real converter or by re-saving as JPEG.

Colour Mode, the Invisible One

An image can be stored as RGB for screens or CMYK for print, and some validators accept only RGB. A CMYK JPEG looks identical in most viewers, so nothing about the file appears wrong.

This usually appears when a photo has passed through print oriented software, or came from a designer. Opening it in any ordinary editor and saving it again converts it to RGB, which is why the mysterious fix is often simply re-saving the file.

When It Still Fails

  • ●Try a different browser. Some older upload widgets fail in ways unrelated to your file.
  • ●Check whether the site wants the photo and the signature in one go. Some forms validate both and report only one error.
  • ●Look for a separate, stricter rule for one field. A 200KB overall limit can sit alongside a 50KB limit on the photograph.
  • ●Reduce the image to its simplest form. A plain JPEG, RGB, no metadata, plain filename, correct dimensions, is the version most likely to pass.

Stripping metadata is worth doing anyway, and not only for compatibility. A photo straight from a phone carries the location it was taken, which is not something to attach to an application form. The metadata remover clears it, and we covered what is in there in what image metadata contains.

Do It Without Uploading Anywhere

The irony of fixing an upload problem by uploading the file to a third party is worth noticing, particularly when the file is a photograph of your face attached to an identity document application.

Resizing, converting and compressing all happen in the browser here, so the only place the photo goes is the form you were trying to fill in.

One Error Message, Six Causes

Portals almost never tell you which check failed, so the fix is to satisfy all of them deliberately rather than to guess. Dimensions, then format, then size between the minimum and the maximum, then a plain filename.

Read the full requirement before you start, including the parts in brackets. Start with the dimensions, since everything else depends on them.

Frequently asked questions

Why does the form reject my photo without saying why?
Because it runs several independent checks and reports them identically. File size maximum, file size minimum, pixel dimensions, format, colour mode and filename are each validated separately, and any one of them produces the same message.
My photo is under the limit but still fails. What else could it be?
Most often the pixel dimensions, or a minimum file size you went under while compressing. Check whether the form names exact dimensions, and whether it states a floor as well as a ceiling.
Can I just rename a PNG to .jpg?
No. The name changes but the file's contents do not, and validators read the bytes that identify the format rather than trusting the extension. This catches a lot of people, because screenshots are PNGs on most systems.
What is a colour mode error?
An image stored as CMYK for print rather than RGB for screens. It looks identical in most viewers, so nothing appears wrong, but some validators accept only RGB. Opening it in any ordinary editor and saving again converts it.
In what order should I fix these?
Dimensions first, because resizing changes the file size and would undo compression done earlier. Then format, then file size between any stated minimum and maximum, then the filename.
Does the filename really matter?
On some older systems, yes. Spaces, accented characters and symbols can break an upload. Renaming to plain letters, digits and hyphens costs nothing and removes a whole class of failure.

Sources & references

This article was researched and written by Nikola, drawing on the following primary sources and documentation:

Ready to try it?

All tools run entirely in your browser, no uploads, no account required.

Resize Image