← All guides

Optimize Images for Shopify: Speed & Quality

Slow product images hurt conversions. Learn ideal Shopify image sizes, compression that preserves zoom, WebP tips, and alt text basics.

By Formatly

Product photos are the biggest files on most Shopify store pages. Slow-loading images mean impatient shoppers bounce, and bloated originals waste the bandwidth Shopify already pays to optimize on your behalf. The good news: a quick pre-upload workflow keeps your photos crisp, your pages fast, and your images private.

What Shopify does with your images

When you upload a product image, Shopify processes it automatically: it generates multiple resized versions, applies its own compression, and can serve modern formats like WebP. But Shopify can only work with what you give it. Uploading a 12 MB photo straight from your camera forces your customers’ browsers to chew through a huge file before Shopify’s optimized versions kick in — and it slows your admin, too.

The fix is simple: optimize before you upload.

Ideal product image sizes

Shopify’s image zoom and most themes expect generous source images. Follow these guidelines:

  • Product photos: at least 2048 x 2048 pixels so the zoom modal stays sharp. Square works for most themes; check your theme’s documentation if it crops differently.
  • Collection banners: check your theme — many use 1200-1600 pixels wide.
  • Slideshows and hero images: 1600-2000 pixels on the longest edge is usually enough; wider adds file weight without visible benefit on most screens.
  • Logos and icons: small and exact — there is no reason for a 3000-pixel logo.

If your photos are oversized, resize them first. If they are too small, resizing them up will not add detail — retake or reshoot instead.

Compress without hurting zoom quality

Compression is where most stores go wrong in one of two directions: no compression at all, or compression so aggressive that zoom reveals mush. The sweet spot:

  1. Keep the full pixel dimensions (2048 px) so zoom stays detailed.
  2. Export at 80-85% quality for JPG — this typically cuts file size by 60-80% with no visible difference at normal viewing.
  3. Prefer WebP where you can: it is dramatically smaller than JPG at equivalent quality.

Run your product photos through the image compressor before uploading. Everything happens in your browser — your product shots never touch a server, which matters when your catalog includes unreleased designs or supplier photos under NDA. If you are new to the settings, read our compression guide for a walkthrough of quality levels and formats.

WebP on Shopify

Shopify supports WebP, and serving WebP versions of your images is one of the easiest page-speed wins available. Even if Shopify generates WebP automatically from your JPGs, starting from a clean, already-optimized WebP gives the best result. Just keep one fallback in mind: some email clients and design tools still handle JPG better, so keep your originals organized in case you need them for newsletters or print.

Alt text basics for product SEO

Alt text serves two purposes: it makes your products accessible to shoppers using screen readers, and it gives Google Image Search something to index. Write alt text like you would describe the photo to a customer on the phone:

  • Good: “Women’s navy waterproof trail jacket with hood, front view”
  • Bad: “image1.jpg” or keyword stuffing like “jacket jacket cheap jackets buy”

Include your main keyword once if it fits naturally, mention the color and defining features, and keep it under about 125 characters. For a deeper treatment of how images affect rankings, see our image SEO guide.

File names matter too

Before uploading, rename files descriptively: navy-waterproof-trail-jacket.jpg instead of IMG_4721.jpg. Shopify uses file names in image URLs, which is a small but real SEO signal — and it keeps your media library searchable. Our WordPress guide (reduce image size for WordPress) covers the same naming habit, which applies to any platform.

A fast pre-upload workflow

For every new product photo:

  1. Resize to 2048 px on the longest edge with the resize tool.
  2. Compress to WebP at 80-85% quality with the compress tool.
  3. Rename the file descriptively.
  4. Upload to Shopify, then add alt text in the product editor.

Four steps, a minute or two per image, and your store gets faster pages, sharper zoom, and better image search visibility — without spending a cent or uploading your catalog anywhere.

Frequently asked questions

What is the best image size for Shopify products?

Use at least 2048 x 2048 pixels for product photos so Shopify's zoom feature works well. Many stores use 2048 pixels on the longest edge, which balances sharpness with file size.

Does Shopify automatically compress images?

Yes, Shopify automatically optimizes uploaded images, including format conversion. Still, uploading pre-optimized images gives you more control and avoids a slow page from oversized originals.

Should I use WebP images on Shopify?

Yes. WebP files are much smaller than JPG at the same quality, which speeds up your store. Shopify can serve WebP automatically, and pre-converting with a client-side tool means your originals stay private.

How do I add alt text to product images in Shopify?

In your Shopify admin, open the product, click a product image, then click Add alt text. Describe the product and key details naturally, including a relevant keyword where it fits.

Will compressing product images hurt zoom quality?

Not if you keep the pixel dimensions high and compress thoughtfully. Quality settings around 80-85% remove invisible data while preserving the detail customers see when they zoom.