You have your photo ready, you filled the entire form, and then the portal says "Invalid image" or "File size exceeds limit" and you have no idea what is wrong. This happens to a lot of people, and it usually comes down to one of five specific issues.
Government portals often give very minimal error messages. "Invalid format" could mean the file extension is wrong, or the actual image encoding is wrong, or the image metadata is flagged. Not helpful.
This guide covers every common image upload problem with clear causes and step-by-step fixes. Bookmark it for exam application season.
Problem: File is too large
The most common problem. Your image is 500 KB and the portal allows 200 KB. Or it is 2 MB and the portal allows 50 KB.
How to fix it
Use a target-size compressor. Set the target to 90% of the portal's stated limit (so for a 200 KB limit, target 180 KB). This gives you a small safety margin in case the portal measures file size differently.
If the photo has very large dimensions (like 4000x3000), resize it to the portal's required dimensions first. Resizing alone may get you under the limit. If not, compress further.
Problem: Wrong image dimensions
The portal requires 413x531 pixels but your image is 600x400, or 1200x1600, or any other size. Portals check pixel count directly and reject anything that does not match.
How to fix it
Use the portal-specific preset tool for your exam or document. It knows the exact required dimensions and resizes automatically. If using a general resize tool, set both width and height exactly to the portal's requirement.
Be careful about aspect ratio. If your photo is portrait and the portal needs a specific portrait ratio, simple stretching will look bad. Crop first to the right proportions, then resize.
Problem: Wrong file format
Portal requires JPEG, you uploaded PNG. Or you renamed a PNG to ".jpg" thinking that would work. It does not. The portal reads the actual file structure, not just the extension.
How to fix it
Open the image in any image editor (even Windows Photos or Preview on Mac) and use "Export" or "Save As" to save it as JPEG. Or use any online converter. Renaming the file extension does not change the actual format.
Presetly tools always output JPEG regardless of the input format. If your source is a PNG or WebP, upload it and the output will be the correct JPEG.
Problem: Photo marked as blurry or low quality
Some portals run automated checks for sharpness. If your photo is blurry, taken in low light, or heavily compressed, it may be flagged.
How to fix it
Start from a better original. A sharp, well-lit photo compressed to 100 KB will look much better than a blurry photo at any size. If you are using a phone camera, make sure you are in good light, holding the phone steady, and tapping the screen to focus on your face before taking the shot.
Also, never over-compress. Going to 10 KB when the limit is 50 KB means unnecessary quality loss. Target the limit, not the minimum.
Problem: Face not detected
Some portals (Aadhaar, Passport Seva) run automated face detection. Your photo may be rejected if the face is too small in the frame, obscured, facing sideways, or if there are strong shadows across the face.
- Face should fill 60 to 80% of the image height
- Look directly at the camera, not to the side
- No shadows crossing the face
- Both eyes fully visible and open
- No sunglasses or dark lenses
Problem: Using a photo scanned from an existing ID
Some people photograph their existing ID card and try to use that photo. This almost never works. The photo is too small (IDs are 35x45mm), the scan introduces noise and colour shifts, and the face takes up less than 50% of the frame due to ID border space.
Always use an original photograph. If you do not have a recent photo in digital form, take a new one with a phone camera. It takes 5 minutes and produces a much better result.
Frequently asked questions
My file size and dimensions are both correct but the portal still rejects the photo. What else could be wrong?
Check the colour mode. Some portals reject CMYK images or greyscale. The image should be RGB colour. Also check if there are any unusual metadata issues. Saving a fresh JPEG from an image editor usually clears metadata problems.
The portal error says "invalid image" with no other details. What does that mean?
Try re-exporting the image as a fresh JPEG from any image editor. Sometimes files have corruption, unusual metadata, or embedding that triggers generic validation errors. A freshly exported JPEG almost always fixes this.
The photo looks fine on my screen but the portal says the quality is insufficient.
The portal may be checking for minimum resolution relative to the required print size, or it may be using an automated blur detection. Try taking a new, sharper photo in better light rather than compressing an existing one further.
I am using the correct size JPEG but the portal shows a size mismatch error.
Some portals check exact pixel dimensions. A 413x532 image will fail a 413x531 check. Make sure you are using a tool that outputs exactly the required dimensions, not "approximately" those dimensions.
Can I use a photo from my Aadhaar card for other government portals?
The Aadhaar photo is 200x200 pixels. Most exam portals require 413x531. The dimensions are different so the same image cannot be used. Even if you upscale a 200x200 image to 413x531, the quality will be poor and may be rejected.
Most portal rejections come down to one of three issues: wrong file size, wrong dimensions, or wrong format. Fix all three and 95% of upload problems disappear. Use a preset tool for your specific portal and you usually do not have to think about any of this.