Guides › Photos

How to optimize images for a website on Mac

Updated 23 November 2026 · by Vistaar Studio

Short answer: resize each photo to the width the page really shows: about 1200 to 1600 px for photos inside a post, 1920 to 2560 px for a full-width banner. Save photos as JPEG at quality 70 to 80. Keep PNG for logos and screenshots with flat colour or transparency. Aim for roughly under 200 KB per content image.

Those figures are rules of thumb, not standards. A photo straight from a camera is often 4 to 8 MB, and your Mac can shrink it for free.

What the platforms say

Only what each platform's own help page states. Checked 23 November 2026.

PlatformWhat its own help page says about image size and formatsSource
WordPressAn upload taller or wider than 2560 px is scaled down to that, and the scaled copy becomes the largest size used. Smaller versions are offered to browsers automatically. Recommended file size: not statedWordPress core blog, developer docs
ShopifyProduct and collection images up to 5000 × 5000 px (25 megapixels) and under 20 MB. For square product images, 2048 × 2048 px "usually displays best". Other sizes are created automatically, in a format the shopper's browser supportsShopify Help
SquarespaceUpload up to 20 MB; "for faster loading, we recommend 500 KB or smaller". A width of 2500 px works for most images; narrower than 1500 px may look blurry. Makes seven widths from 100 to 2500 px and displays images as WebPSquarespace Help
WixImages up to 50 MB. Images are converted to AVIF on the live site. Recommended file size: not statedWix Help
Google Lighthouse (PageSpeed Insights)Compares each image file with the size it is shown at, counting screen density. Tests JPEGs against compression level 85. Target file size: not statedProperly size, Efficiently encode, Modern formats

So your job is to upload one sensibly sized file. The platform makes the phone-sized versions.

Step 1: pick the width

Why bigger than the column? Retina Macs and phones pack two or more screen pixels into each layout pixel. So export about twice the displayed width (1600 px for an 800 px column), and stop somewhere between 1600 and 2560 px.

Step 2: pick the format

Step 3: resize and compress on your Mac

Preview (one photo, or a handful)

  1. Duplicate the photos first (⌘ D in the Finder). Preview changes the file you have open.
  2. Open them in one Preview window. To do several, click a thumbnail in the sidebar and press ⌘ A.
  3. Choose Tools › Adjust Size, set the units to pixels, keep Scale proportionally ticked and type the width, such as 1600.
  4. Choose File › Export, set Format to JPEG and drag the Quality slider to about three quarters.

Finder: Convert Image (quick, keeps originals)

  1. Select the photos in the Finder, Control-click and choose Quick Actions › Convert Image.
  2. Set Format to JPEG (the choices are JPEG, PNG and HEIF).
  3. Set Image Size to Large or Medium (the choices are Small, Medium, Large and Actual Size) and click Convert. Copies appear next to the originals.

Terminal: one sips command for a whole folder

Open Terminal, type cd and a space, drag the folder in and press Return. Then run:

mkdir -p web && sips -Z 1600 -s format jpeg -s formatOptions 75 *.jpg --out web/

Resized copies go in a new web folder; your originals stay as they are. -Z 1600 sets the longest side, formatOptions 75 the JPEG quality. To set the width instead (better for tall photos), use --resampleWidth 1200 in place of -Z 1600.

We ran it on macOS 26.2 on 37 photo-style 1920 × 1080 test images, 10.4 MB of JPEGs in total. This is what one of them did at 1600 × 900:

SettingOne test image (255 KB at 1920 px)All 37
1600 px, quality 60137 KB5.6 MB
1600 px, quality 75199 KB8.1 MB
1600 px, quality 85259 KB10.4 MB
1200 px, quality 75131 KBnot run
1600 px, AVIF, quality 7566 KBnot run

This is one test image, and it was already small, so your results will vary. Note the quality 85 row: it came out slightly bigger than the file we started with. Re-saving at a high quality setting can add weight.

Three things to watch:

For Shortcuts and more folder methods, see how to batch resize images on Mac. To hit one exact figure, see how to resize a photo to 50 KB on Mac.

Step 4: check the result

Select a file in the Finder and press ⌘ I to see its size and dimensions, or run sips -g pixelWidth -g pixelHeight web/photo.jpg. After you publish, test the page in Google's PageSpeed Insights.

Why not just upload the camera original?

Uploads are slow and storage fills up: WordPress's own developers wrote that a photo from an average modern smartphone "is easily over 5MB". Resize first and keep the originals in a separate folder.

We haven't tested what these tools do with the location and camera details stored inside a photo. If that matters to you, check a saved file before you publish it.

Doing a folder at a time: Pictailor

This is our own app, and the free methods above work. Pictailor, our batch photo resizer for Mac, does the same job with buttons:

Pictailor on Mac compressing a 4 MB interior photo: the File size panel offers Any, 100 KB, 500 KB, 1 MB, 2 MB and Custom, with 500 KB selected and the note 'Fits at quality 72 · 1,776 × 1,328', saving a JPEG of about 493 KB
Pictailor picks the quality and size so the saved copy fits the limit you choose.

Pictailor is $5 direct from vistaar.studio, or $4.99 on the Mac App Store. It runs on Apple Silicon and Intel Macs with macOS 15 or later. Meet Pictailor →

FAQ

What size should images be for a website?

As a rule of thumb, about 1200 to 1600 px wide for photos inside a post or page, and 1920 to 2560 px for a full-width banner. Squarespace says 2500 px works for most images, and Shopify says 2048 x 2048 px usually displays best for square product photos. Your platform makes the smaller versions for phones.

How many KB should a website image be?

There is no official standard. A common rule of thumb is under 200 KB for a photo inside a page and under 500 KB for a large banner. Squarespace's help page recommends 500 KB or smaller for faster loading.

Is JPEG or PNG better for websites?

JPEG for photos, PNG for logos, screenshots and anything with flat colour, sharp text or a transparent background. A photo saved as PNG is far heavier: in our test the same 1600 px image was 199 KB as a JPEG at quality 75 and 1.43 MB as a PNG.

Can a Mac save WebP?

Not with the built-in sips tool on macOS 26.2. It can open WebP, but writing one fails with the error Can't write format: org.webmproject.webp. It can write AVIF and HEIC. You rarely need to make WebP yourself, because Shopify, Squarespace and Wix convert uploaded images for visitors.

Does resizing reduce quality?

Making a photo smaller throws away pixels, but you won't see it as long as the file is still at least as wide as the space it fills on the page. Quality drops when you enlarge a small image or save a JPEG at a very low quality setting.