Back to blog
Problem SolvingOctober 5, 2025

Image Too Large to Upload? Fix It Without Losing Quality

Most upload limits can be cleared by resizing or compressing. Here's exactly how to reduce an image file size for any platform.

image compressionfile sizeimage resizerweb images

You try to upload a photo and hit a wall: "File too large. Maximum size is 5 MB." Or 2 MB. Or 1 MB. The photo looks completely normal to you it's probably just a phone camera shot taken in 2024.

Modern smartphone cameras produce photos that are 8–25 MB by default. Most upload forms cap at 2–5 MB. The gap is always there.

Here's how to close it, fast.

First: Understand Why Images Are Large

A photo's file size is determined by:

  1. Pixel dimensions a 12-megapixel photo (4000×3000 pixels) contains 12 million data points to store
  2. Format JPEG is compressed, TIFF is not; a raw file from a camera is many times larger than the JPEG
  3. Quality setting JPEG quality 95 vs. quality 75 can be a 3× size difference for the same image
  4. Metadata EXIF data (GPS, camera model, settings) adds some size, but usually less than 1% of file size

The levers to pull are dimensions and quality. Metadata removal helps a little.

Method 1: Resize the Image (Biggest Impact)

Reducing dimensions is the fastest path to a smaller file because file size scales roughly with pixel count.

A 4000×3000 image is 12 megapixels. Resize to 2000×1500 and you have 3 megapixels a file roughly 4× smaller, because both dimensions halved.

Common platform requirements:

PlatformRecommended max dimensions
Social media profile photo400×400 px
Social media post1200×630 px
Email attachment (readable)1600×1200 px
WordPress/CMS upload2000px wide max
LinkedIn banner1584×396 px
Resume/document800px wide

Use the image resizer to set the pixel dimensions and download. The aspect ratio lock ensures the image doesn't distort.

Typical result: A 10 MB phone photo resized to 2000×1500 becomes 1.5–3 MB (JPEG quality 85).

Method 2: Compress the JPEG (Best for Photos Staying JPEG)

JPEG quality can be reduced significantly without visible degradation. Quality 85 is usually visually identical to quality 95 but 40–60% smaller.

Use the JPG compressor to set a quality level and see the size comparison before downloading.

Typical result: A 10 MB photo at quality 95 compressed to quality 80 becomes 2–4 MB with no visible quality difference in most contexts.

Method 3: Convert to WebP (Best for Web Uploads)

WebP compresses 25–35% more efficiently than JPEG at equivalent visual quality. If the platform accepts WebP (most modern web platforms do), converting reduces size without changing dimensions or perceptible quality.

Use the WebP converter to convert JPG or PNG to WebP.

Typical result: A 5 MB JPEG becomes 3–4 MB WebP at equivalent quality.

When not to use this: If the platform requires JPEG (some forms specify it), converting to WebP will be rejected. Check the allowed formats first.

Method 4: Both Resize and Compress Together

For extreme size reductions, do both:

  1. Resize to your target dimensions
  2. Compress at a lower quality

Typical result: A 20 MB phone photo resized to 1600×1200 and compressed to quality 75 becomes 0.5–1 MB.

Specific Platform Solutions

Gmail attachment limit (25 MB)

Only an issue if you're attaching raw camera files. Compress to JPEG quality 80 or resize to ≤ 2400px wide.

WordPress "Maximum upload file size is 2 MB"

The limit shown in WordPress is set by your PHP configuration, not WordPress itself. Either:

  • Ask your host to increase upload_max_filesize in php.ini
  • Resize your images to 2000px wide at quality 80 before uploading (they'll be under 1 MB for most photos)

Most themes display images at 1200–1400px max anyway. Uploading at 4000px is wasted space.

Upwork profile photo limit (typically under 5 MB)

Resize to 400×400 and save as JPEG quality 90. Will be well under 200 KB.

LinkedIn post image (max 5 MB, recommended 1200×628)

Resize to 1200×628 using the image resizer. At JPEG quality 85, this will be 200–600 KB.

Resume / job application upload (often 2 MB limit)

This limit is for the full resume document, not individual images within it. If you're embedding images in a PDF, compress them before embedding: convert to JPEG quality 75 at 800px wide.

How Much Can You Compress Before Quality Drops?

Rough guide by output use:

Output destinationQuality settingNotes
Print (300 DPI)90–95Don't compress for print
Large screen display85Usually indistinguishable from original
Web full-width image80Good balance of size and quality
Web thumbnail70–75Acceptable, not closely inspected
Tiny icon / thumbnail60–70Fine at small sizes

For photos you care about: compress a copy, keep the original. File size is not a good reason to permanently degrade an original photo.

Strip Metadata (Small Bonus)

EXIF data in a JPEG includes camera model, GPS location, settings, and often a thumbnail. Stripping it saves 20–80 KB relevant if you're near the limit and don't want to compress further.

The JPG compressor strips EXIF as part of the compression process (the Canvas API used for processing doesn't preserve EXIF by default).

What Won't Help

Converting JPEG to PNG: PNG is lossless and larger than JPEG for photos. A 5 MB JPEG becomes 15–25 MB PNG. Always go the other direction for photos.

Changing DPI settings: DPI metadata affects print, not screen display or file size. A "300 DPI" JPEG at 800×600 pixels is the same bytes as a "72 DPI" JPEG at the same dimensions. Screen file size is determined by pixels, not DPI.


Use the image resizer for dimension-based reduction or the JPG compressor for quality-based compression. Both run in the browser no upload to external servers.

Related articles