Ideas & Tutorials
That Beautiful Photo Is Too Big to Upload. Here's How to Fix It for Free.
Crop, resize and export a photo for a website using GIMP, while keeping your original and checking that important detail still looks good.

That Beautiful Photo Is Too Big to Upload. Here's How to Fix It for Free.
You've finally got a good photo of the thing you made. The light is decent, the background isn't full of washing and the product is actually in focus. You try to put it on your website and the file is enormous.
Before you send it to three different “image compressor” websites and end up with something that looks like a potato, try this. We'll use GIMP, a free image editor, to crop, resize and export a separate copy that is better suited to a page or listing.
The pictures in this guide come from GIMP's own Quickies tutorial, which uses a Hubble photograph of the Horsehead Nebula as its example. They're real tutorial screenshots from an older GIMP interface, not a test we ran on your product photo. Current menus and dialogs can look a little different; the steps below also refer to the GIMP 3.2 manual.
You'll need a computer, GIMP and a photograph you have permission to use. There's no paid subscription required for GIMP itself.
First, keep the original
Open your photo in GIMP with File → Open. Before making changes, keep the original somewhere safe. A copy named original-product-photo.jpg is much easier to find than final-FINAL-actually-final-3.jpg.
If you want to keep an editable GIMP project, use File → Save As and save an .xcf file. That's your working copy. Later, you'll use Export As to make the JPEG or PNG that goes on the website.
Why both? The original gives you the most flexibility for a different crop or a print later. The exported copy is the practical version sized for a specific job. You can have more than one export from the same source.
Decide what the picture needs to show

GIMP's older tutorial shows a crop being chosen on a Hubble photograph. Screenshot: Pat David / GIMP, CC BY-SA 3.0. Photograph: NASA, ESA, and the Hubble Heritage Team (STScI/AURA), CC BY 4.0; resized.
For a product listing, start with the actual object and the information a buyer needs. Does the crop show the whole item? Is the important detail visible? If you're selling a physical object, don't crop away damage or features a buyer should reasonably see.
Choose Tools → Transform Tools → Crop, or use the Crop tool in the toolbox. Drag a rectangle around the part you want to keep. Move or adjust it until the subject has enough breathing room.
If your destination needs a particular shape, the tool options let you set a fixed aspect ratio. For example, 1:1 makes a square crop and 4:3 makes a landscape rectangle. Use the dimensions your own platform asks for; these are examples, not universal marketplace rules.
In the GIMP 3.2 manual, Delete cropped pixels controls whether the canvas is adjusted to the crop. Check that option if you want the exported canvas to match the crop, and make sure you're working on your saved copy. Confirm the crop by clicking inside it or pressing Enter. If the result isn't right, undo and try again.
Resize for the job, not a random number

The Scale Image dialog in GIMP's earlier tutorial. The appearance and options can differ in current versions. Screenshot: Pat David / GIMP, CC BY-SA 3.0; resized.
Go to Image → Scale Image. You'll see the image width and height. Make sure the unit is pixels if you're preparing an image for a screen, and keep the chain or link between width and height connected so the picture doesn't stretch.
Enter the size needed for your destination. As a practice example, you might make a landscape image 1,200 pixels wide for a page that can use it. Check the resulting height and compare both dimensions with the site's actual requirements before exporting.
If the original is smaller than the requested size, simply typing a bigger number doesn't create genuine photographic detail. Start with a larger original where possible. On the other hand, shrinking a full-resolution camera photo to a sensible web size can make the file much easier to handle.
Click Scale when you're happy. Zoom in on text, fine edges and the main subject. If something looks noticeably soft or jagged, go back to the original and try a different size or interpolation setting rather than repeatedly resizing the same small copy.
Export a copy you can actually upload

GIMP's tutorial export dialog; your version and computer may look different. Screenshot: Pat David / GIMP, CC BY-SA 3.0; resized.
Choose File → Export As and give the new file a useful name. For most ordinary photographs, .jpg is a widely supported starting point. Pick a folder you can find again and export.
GIMP's JPEG dialog lets you choose a quality level. A higher setting usually preserves more detail but may create a larger file. Lower settings can make files smaller while introducing visible compression marks. The right balance depends on the image and the site you're using.
Don't assume the same number means the same result in every app. GIMP's own JPEG export documentation specifically warns against comparing quality numbers between applications as if they were identical.
Look closely before deciding it's done

Pat David's tutorial compares JPEG compression on the same Hubble image. Screenshot: Pat David / GIMP, CC BY-SA 3.0. Photograph: NASA, ESA, and the Hubble Heritage Team (STScI/AURA), CC BY 4.0; resized.
Open the exported file outside GIMP and look at it at the size a visitor will see. Then zoom in on an area with fine detail, a sharp edge or a smooth background. Too much compression can leave blocky patches or fuzzy halos. A product label or fine engraving is often where you'll notice the trouble first.
Compare the exported file size with your upload limit. If it's still too large, try a slightly smaller pixel dimension or a modestly lower JPEG quality and compare again. Make the new export from your working copy, not from an already compressed JPEG over and over.
If the photo looks worse but the file is still comfortably below the limit, you may have squeezed it more than necessary. Use the best result that meets the real requirement.
Need a transparent background?
JPEG doesn't support transparency. If your design genuinely needs a transparent background, export a PNG instead and check the result on both a light and a dark background. A checkerboard in the editor represents transparency; it shouldn't be a printed pattern in the finished image.
WebP can also support transparency where your destination accepts it. Use the format the receiving site actually supports. None of these choices turns a raster picture into an editable vector file.
A quick final check
Before uploading, make sure the picture shows the correct item, the subject hasn't been stretched, the crop works on a small screen and the exported file opens normally. If your image contains a person's private details or embedded location information, check the export metadata options too.
That's it. You still have the original, you have a sensible upload copy and you haven't paid a monthly fee just to make a photograph smaller. Not bad for a job that started with an error message.
Images: Horsehead Nebula photograph by NASA, ESA, and the Hubble Heritage Team (STScI/AURA), ESA/Hubble, CC BY 4.0. GIMP Quickies screenshots by Pat David, original tutorial, CC BY-SA 3.0; screenshots resized. The feature photograph was resized and cropped.
Sources
Share this article
Know someone who would enjoy this? Pass it along.
