I've been trying to upload pictures from my C drive to various websites. Everytime I attempt to do this, I get an error message such as "file not valid". These are normal jpg. files (not huge). It's happening with every photo. I would like to attach these photos to the body of the message I post in the various forums I visit.

I use Windows XP, and everything seems to be working properly.

Thanks!

Dani AI

Generated

Reports from (Aug 11, 2004), (Jan 7, 2007) and (Oct 18, 2010) show the same "file not valid" upload error for JPGs. That symptom usually points to a small set of client-side problems rather than the forum: corrupted files, wrong extension/MIME, nonstandard JPEG variants (progressive or uncommon color spaces), filename/path issues, or the browser/antivirus interfering. 's note about dimensions is valid for some sites, but broader checks are usually needed.

Checklist to isolate and fix

  • Confirm the image opens locally (double‑click or open in Paint/Windows Photo Viewer). Failure to open = corrupted file.
  • Make extensions visible: Explorer -> Tools -> Folder Options -> View -> uncheck "Hide extensions for known file types". Confirm the file really ends in .jpg or .jpeg.
  • Check file size is not zero and the file is not an HTML/text wrapper.
  • Copy the file to the Desktop and rename to a simple ASCII name (e.g., test.jpg) to remove path/character issues, then try upload.
  • Re-save the image from MS Paint: Open -> File -> Save As -> JPEG picture (test2.jpg). This produces a baseline RGB JPEG that fixes most server-side validators.
  • Try a different browser or another machine, and temporarily suspend real‑time antivirus/web‑filtering while testing (restore it afterwards).
  • If sites complain about dimensions, resize in Paint to a reasonable maximum (for example, under 1200 px on the long side).
  • As a quick header check, open the file in a text editor and look near the start for JFIF or Exif to confirm it really is a JPEG.

Most multi-site upload failures are resolved by re-saving to a fresh *.jpg. If that still fails, the file is likely corrupted or encoded in a nonstandard way; re-import from the camera or run a conversion tool to create standard baseline RGB JPEGs. Avoid disabling security permanently and do not upload executable files.

Recommended Answers

All 3 Replies

It might just be the dimensions.

I am having trouble uploading any photo of mine on to any site. I cannot even attach a photo. This prob does not occur with documents, only photos! and the size of the photo is only abt 21 KB and it is JPEG
Help?

i am not able to upload pics onto my emails it says an error try again please help it is not the size thank u

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.