Home › Compress image › Upload rejected?

Why was my photo upload rejected?

Online forms reject images for a handful of reasons, and the error message rarely says which. Here is how to find the real cause and fix it.

🔒 Processed entirely in your browser. Your images are never uploaded to any server.

The tool above fixes the most common problem — a file that is too large. Set your form's limit in the box, drop the photo in, and the result is guaranteed to be under it. If that wasn't the issue, work through the list below.

1. The file is too large (in KB or MB)

A photo straight from a phone is 2–5 MB; forms often allow 50–200 KB. Compress it to the limit with the tool above. Remember that some forms count 1 KB as 1000 bytes and others as 1024, so a file your computer calls “49 KB” can still be over a 50 KB limit. Our results always stay under the stricter count.

2. It is too small

Some forms set a minimum, such as “between 20 and 50 KB”, to avoid unreadable thumbnails. If your file is below the minimum, start again from the original photo rather than enlarging the small one, and set the target just under the maximum — the tool keeps the quality as high as it can, so the result lands near the number you type.

3. It is not really a JPG

This one is common and confusing. iPhones save HEIC photos, browsers save WebP or AVIF images, and renaming the file to “.jpg” doesn't change what is inside. Forms that check the contents reject it as invalid even though the name looks right. ImgToSize reads the actual contents, tells you when a “.jpg” is really HEIC, and saves a genuine JPEG. More on this in renamed HEIC to JPG not working.

4. Wrong pixel dimensions

Forms that say “200×230 pixels” or “600×600 to 1200×1200” check width and height separately from file size. Use the resizer: type the width and height, choose “Crop to fill” so faces aren't squashed, and fill in the KB limit in the same step.

5. Wrong shape

Some systems need a particular aspect ratio — square for many visa photos, 3.5×4.5 for passport-style photos — and reject or squash anything else. Crop to the right shape first; the passport tools on this site crop to each document's exact shape with the head in the right position.

6. The photo is sideways

Phones store photos as they come off the sensor plus a note saying “rotate this”. Many older upload systems ignore that note, so your upright photo arrives on its side. Re-saving through any of our tools bakes the rotation into the pixels, so it stays upright everywhere.

7. The colours are in the wrong mode

Scans and images exported from design software are sometimes saved in CMYK (for print) instead of RGB (for screens). Some systems reject CMYK JPEGs, or show them with strange colours. Re-saving the image here converts it to a standard RGB JPEG.

8. The file name

Older systems can choke on spaces, accents, emoji or very long names. If everything else looks right, rename the file to something short such as photo.jpg or signature.jpg and try again.

9. The portal itself

Busy government and exam portals often time out near deadlines, and some only work properly in a desktop browser. If a correct file still fails, try a different browser or device, turn off any browser extension that blocks scripts, and avoid the last few hours before a deadline.

Quick checklist

CheckFix
Size in KB under the limit (and over any minimum)Compress to a size
Width and height matchResize to exact pixels
Real JPG, not HEIC/WebP/AVIFHEIC to JPG · WebP to JPG · AVIF to JPG
Passport or visa photo rulesPassport photo maker
Several pages as one fileImages to PDF

Frequently asked questions

Why does the form say my JPG is invalid?

Usually because the file isn’t really a JPEG inside — often an iPhone HEIC or a web WebP that was renamed. Converting it produces a genuine JPEG.

My photo is under the limit on my computer but the form says it is too big. Why?

The form probably counts 1 KB as 1000 bytes while your computer counts 1024. Compress to a slightly lower number, or use our tool, which always stays under the stricter count.

Why does my photo appear sideways after uploading?

The upload system ignores the phone’s rotation note. Re-save the photo with any of our tools and the rotation is applied to the pixels.

Are my photos uploaded to ImgToSize?

No. Everything happens in your browser, so you can safely fix ID photos and documents.