← All posts

How to resize an image: crop and resize a photo on a grid

How to resize an image: crop and resize a photo on a grid

Every site wants pictures at its own size. Instagram likes 1080 × 1350, a YouTube thumbnail is 1280 × 720, and a job portal might ask for a photo under 600 pixels wide. Your phone gives you neither. Its photos are big and usually a different shape.

The mediatoolex image resizer fixes that in a few clicks. You can pick a ready-made size, or open the picture on a grid and choose exactly which part to keep. It all runs in your browser. For this guide I used a tall photo of a forest stream (1200 × 1800) and turned it into an Instagram portrait post.

Privacy: your photo is resized on your own device. It's never uploaded, so nobody else sees it.

How to resize a photo

Step 1: Choose your photo

Open the image resizer and click Choose Images, or drag pictures onto the page. JPG, PNG and WebP all work, and you can add up to 50 at once.

The image resizer with the Choose Images button highlighted

Step 2: Pick a size

Click one of the ready-made sizes. I picked Instagram portrait (1080 × 1350). If your photo is a different shape, the edges get trimmed so it fills the size exactly, with no stretching and no white bars. Need something else? Type your own width and height under Custom size, or switch to Percent to scale it down, for example to 50%.

The size grid with Instagram portrait selected, and the Open grid editor button above it highlighted

That's already enough to get a correctly sized picture. However, the resizer decides which part to keep, and it always takes the middle. With my photo, that trimmed some of the stream off the bottom and kept more treetops than I wanted. To choose the part yourself, click Open grid editor.

Step 3: Choose what to keep on the grid

The editor shows your whole photo, with a crop frame on top. Everything outside the frame is dimmed and will be cut off.

  • Move the frame by dragging inside it. I pulled it down so the stream fills the lower part of the picture.
  • Change the frame by dragging its corners or edges. You can also drag across the dimmed area to draw a new frame.
  • Lock the shape with the buttons under Crop shape. My Instagram size had already selected 4:5, so the frame kept the right proportions while I moved it.
The grid editor with a 4:5 crop frame moved down over the stream, rule-of-thirds lines inside it, and the 4:5 shape button highlighted
The Thirds grid splits the frame into nine boxes. Placing the horizon or your subject on a line usually looks better than dead centre.

Above the photo you can choose the Grid. Thirds helps you frame the shot. Pixels draws a line every so many pixels, and the note under the picture tells you how many. Use the buttons under Rotate & flip if the photo is on its side or you want a mirror image.

Step 4: Check the size

Switch to the Resize tab. The frame becomes a box with handles, drawn at the size your picture will be saved at. The dashed line shows the cropped area at its original size, so you can see how much smaller (or bigger) the result is.

The Resize tab showing the photo at 1080 × 1350 pixels on a pixel grid, with a dashed outline of the original size and the width and height boxes highlighted

Drag a corner to make it bigger or smaller, or type the exact numbers under Output size. With the chain button on, the height follows the width so nothing gets squashed. Mine read 1080 × 1350, which is exactly what Instagram wants, so I clicked Apply.

Step 5: Download

Back on the page, the picture's row says Edited · 1080 × 1350 px, and the thumbnail shows the new crop. Click the download button to save it. If you added several pictures, use Download all (ZIP).

The finished file row showing 506 KB down to 387 KB, Edited 1080 × 1350 px, with the download button highlighted

My file went from 506 KB to 387 KB, simply because it now has fewer pixels.

Common image sizes

  • Instagram: square post 1080 × 1080, portrait post 1080 × 1350, story or reel 1080 × 1920
  • YouTube thumbnail: 1280 × 720
  • Facebook: shared link image 1200 × 630, page cover 820 × 312
  • X (Twitter): post image 1600 × 900
  • LinkedIn banner: 1584 × 396
  • Passport-style photo (35 × 45 mm at 300 dpi): 413 × 531

All of these are under Pick a size on the resizer. Click More sizes to see the rest.

Tips for better results

  • Make pictures smaller, not bigger. Shrinking keeps a photo sharp. Enlarging has to invent pixels that were never there, so it looks soft. If you really need a bigger picture, the AI image upscaler does a much better job.
  • Crop first, then resize. Choosing the part you want before setting the size means nothing important gets trimmed.
  • Same edit for a whole batch? Edit one picture, then click Apply to all instead of Apply. Every picture gets the same shape, size and rotation.
  • Need a smaller file rather than fewer pixels? Use the image compressor. It can aim for a target such as "under 200 KB".
  • Wrong format? Under More options, set Save as to JPG, PNG or WebP. Not sure which one? JPG vs PNG explains the difference.

Keep going

Want the subject without its background? See how to remove the background from a photo. To change a picture's file type, read how to convert image files.

Photo by Joan Oger on Unsplash