Skip to content
← All posts/
compress images for shopifyAugust 30, 2026 · 6 min read

How to Compress Images for Shopify Product Pages

Practical workflow to crop, remove background, resize, choose format, compress, inspect, and upload product photos so they look sharp and load fast on Shopify product pages.

M

Motionix Editorial Team

Practical guides with sources and explicit limitations.

Workflow diagram showing crop, background removal, resize, choose format, compress, inspect, upload for Shopify product images
Motionix original editorial visual
Jump to

If you need product pages that load quickly and look professional, follow this compact workflow: crop to the right composition, remove the background only when it improves clarity, resize to the largest display size you actually need, choose an accepted format such as JPEG, PNG, or WebP for the store workflow, use AVIF only when your theme and delivery path explicitly support it, compress visually until detail is preserved, inspect at multiple zoom levels, and upload per Shopify’s product-media guidance. See Shopify’s optimization tips and product-media help for current behavior.

Quick workflow summary

  1. Start from the highest-quality original you have.
  2. Crop to the display aspect ratio and composition you want.
  3. Remove or replace the background only when it improves clarity or fits the catalog style.
  4. Resize to the largest pixel width the page will display. Keep a 2x option for high-DPI if your theme uses it.
  5. Choose a file format that matches the image role. Test WebP and AVIF where supported.
  6. Compress until visual parity with the original, checking at 100% and 200%.
  7. Save the optimized file, keep the original, and upload following Shopify’s guidance.

Refer to Shopify’s optimization overview and product media help for current recommendations and responsive image behavior.

Step-by-step workflow

This checklist runs in about 5–15 minutes per image depending on edits needed.

  1. Start from the best source image
  • Use an original RAW or a full-resolution camera JPEG. Avoid starting from a small social-media export.
  • If you shoot on a phone, capture at the highest-resolution setting and avoid in-camera heavy compression.
  1. Crop for composition and aspect ratio
  • Remove excess space and match the aspect ratio your storefront uses (square, 4:5, etc.).
  • Make sure the crop shows the whole product and enough context for scale.
  1. Remove background only when it helps conversion
  • Use transparent or white backgrounds for clean catalog presentation and marketplaces. Keep lifestyle backgrounds for contextual marketing.
  • For automated background removal, try the Motionix Background Remover. Read best practices in the Motionix blog about product-photo background removal.
  1. Resize to the largest display size you really need
  • Identify the largest pixel width your theme will show for gallery or hero images and export to that width rather than uploading massive masters.
  • Keep a 2x (retina) export if your theme uses high-DPI images or rely on Shopify’s responsive behavior. Check Shopify’s official guidance linked below.
  1. Choose a file format that fits the image role
  • Photographic product photos: WebP or optimized JPEG. Shopify accepts WebP and JPEG, but exact delivery depends on the theme and customer web client.
  • Transparency required: WebP with alpha or PNG; verify the theme and customer-browser path before standardizing on WebP.
  • AVIF can be useful in workflows that explicitly support it, but it is not listed on Shopify’s current product-media type page as an accepted product-upload format; verify the store workflow before using it.
  • Line art and logos: PNG for lossless edges, or SVG when vector is available.
  • For a deeper format comparison, see the Motionix format guide.
  1. Compress with visual checks, not blind presets
  • Reduce quality until you begin to see degradation, then step back one level. Use compressors that show side-by-side and zoomed previews.
  • Common starting points for testing (adjust by visual result): JPEG quality ~70–85; WebP quality ~60–80; AVIF often lower but test.
  • Confirm that small product details such as stitching, labels, or small text remain readable.
  1. Inspect at multiple scales
  • Check images at 100% and 200% to inspect edges, texture, and typography.
  • Also view thumbnails and hero sizes to ensure sharpening or anti-aliasing looks correct at small scales.
  1. Save optimized versions and archive originals
  • Keep a lossless or high-resolution master in your asset archive or cloud storage.
  • Use a clear naming convention that includes SKU, color, and width (for example: sku_color_w1200.webp).
  1. Upload following Shopify’s guidance
  • Add images through Shopify’s product-media workflow and let Shopify serve responsive versions, but still upload appropriately sized, optimized files. See Shopify’s product-media help and optimization tips in References for current behavior.

File-size targets (guideline)

These targets are guidelines. Prioritize visual quality for product detail and test across devices.

Display roleTypical export widthSuggested max file size
Thumbnail / collection grid400–800 px30–80 KB
Product gallery / tablet view800–1600 px80–250 KB
Zoom / fullscreen hero1600–2400 px200–500 KB

Adjust based on image complexity and how much detail the product requires.

Tools and resources

  • Background removal tool: Motionix Background Remover.
  • Background-removal best practices: Motionix blog on product-photo background removal.
  • Format comparison: Motionix guide on JPG vs PNG vs WebP vs AVIF.
  • Quick compression with side-by-side preview and quality sliders: Motionix Image Compressor.

Also consult Shopify’s own resources for image optimization and product-media upload, listed in References.

Quality checklist before upload

  • Cropped to match display aspect ratio.
  • Background used only where it improves clarity or branding.
  • Resized to the largest display width you’ll need.
  • Format chosen for the image role (photo, transparency, vector).
  • Compressed with no visible artifacts at 100% and 200% inspection.
  • Master original safely archived.
  • Filename and metadata organized for product management.

Frequently asked questions

What format should I use to compress images for Shopify?

For most photographic product photos use WebP or optimized JPEG. WebP offers smaller files for similar quality. Use PNG or WebP with alpha for transparency. Consider AVIF for extra compression but test client support. See the Motionix format comparison and Shopify’s optimization tips for more context.

How large should product images be on Shopify?

Export to the largest pixel width your storefront will display for the role (gallery, hero, zoom). Common gallery/zoom widths are often 1200–2000 px, but check your theme and use Shopify’s product-media guidance. Avoid uploading extremely large originals unless you need them for future edits.

Will Shopify re-compress images I upload?

Shopify generates responsive image sizes and serves images dynamically. You should still upload optimized files sized for the display role. Check Shopify’s official product-media help for current details and any platform changes.

Should I remove backgrounds from every product photo?

No. Remove background when it improves clarity, consistency, or marketplace requirements. Keep lifestyle or contextual backgrounds when they help tell a product story. Use background removal selectively based on conversion and brand needs.

How do I test compression without losing the master file?

Always keep a high-resolution master in your archive. Export optimized versions for upload. Record the export settings you used so you can reproduce or adjust later.

How can I confirm my compressed images still show essential detail?

Use an image compressor that provides side-by-side previews and zoom. Inspect at 100% and 200% and compare thumbnails and hero displays. Check small printed text, stitching, and other fine details visually.

Final Motionix CTA

Ready to compress product photos with visual previews and simple quality sliders? Try Motionix Image Compressor.

References

background remover · product photo background removal · jpg vs png vs webp vs avif

Share

Keep reading

Conversation

Join the conversation

Share a useful question, correction, or practical tip. Comments are reviewed before they appear.

Loading…

Motionix

A focused tool for your next step

Choose the right task and check its formats, processing and limits before starting.

Open tools