πŸŽ‰New users get bonus credits and a free trial! Plans up to 15% offπŸ‘‰Sign up now
AISellerKit logoAISellerKit
Image Delivery

Shopify Image CDN and Compression Guide (2026)

Shopify's CDN handles format negotiation and resizing, but it does not choose your master file or your theme's markup. This guide covers what you control and what to leave to the CDN.

AISellerKit Editorial Team Β· Reviewed by Commerce Strategy Team Β· Updated Nov 21, 2026

Shopify image CDN and compression guide

Production and review workflow

What the Shopify CDN does

Shopify serves product images from its CDN and can generate resized variants through the `image_url` filter. It also negotiates modern formats for supported browsers. The CDN does not fix a soft master, a wrong aspect ratio or a theme that requests the wrong width.

CDN serves and resizes images
Modern formats are negotiated
The master still matters
The theme must request the right width

Master file quality

Upload a master that is large enough for the largest placement and sharp enough for zoom. A 1000px master cannot be made sharp at 2000px by the CDN. Keep the product in focus, avoid heavy in-camera sharpening, and export at a quality that survives a second compression pass.

Upload a large enough master
Do not upscale a small file
Keep focus and detail
Avoid over-sharpening

Compression and format

The CDN chooses a delivery format, but the source compression still affects the result. Export at high quality, then let the CDN create the delivery variants. If a product image looks soft after upload, compare the master with the delivered file before blaming the CDN; the master or the requested width is usually the cause.

Export at high quality
Let the CDN choose the format
Compare master and delivered file
Check the requested width

Cache and versioning

Shopify's CDN caches image URLs. When you replace an image, the URL may change; when you edit the same file, the CDN may serve a cached version for a while. Use the theme's image versioning or a new file name when a change must appear immediately, and avoid renaming files without a redirect plan.

Expect CDN caching
Use a new file name for urgent changes
Check the delivered URL
Plan redirects for renamed files

A delivery QA checklist

Check the master resolution, the requested width, the delivered format, the file size and the visual quality at mobile and zoom sizes. Then check LCP and CLS. If the image is sharp but the page is slow, the problem is the number or size of images, not the CDN.

Check master resolution
Check requested width
Check delivered format and size
Check LCP and CLS

A Shopify image delivery checklist

Upload a master large enough for the largest slot, let Shopify's CDN produce the resized variant, and avoid re-compressing the same file in an external editor. Check the width parameter on hero and collection images, confirm the browser receives a modern format, and inspect the LCP image on a throttled phone. Compression is only useful when the image still reads correctly and the page avoids loading sizes the layout never displays.

Upload a master for the largest slot
Let the CDN produce resized variants
Avoid repeated external re-compression
Check width parameters on hero images
Confirm modern format delivery
Inspect the LCP image on a phone

FAQ

Does Shopify serve WebP or AVIF?

Shopify's CDN negotiates modern formats for supported browsers. You do not need to upload a separate WebP file for every product image.

Can I control Shopify image compression quality?

The CDN handles delivery compression. You control the master file quality and the requested width. Export a high-quality master and let the CDN create the delivery variants.

Why do my Shopify images look soft after upload?

Check the master resolution and the requested width first. A small master or a theme requesting a small variant is a more common cause than CDN compression.

Does Shopify resize images automatically?

The CDN can generate resized variants, but the theme must request them with image_url and srcset.

How do I force a Shopify image update?

Use a new file name or the theme's versioning mechanism. CDN caches can serve the old image for a while after an in-place replacement.

Does Shopify compress product images automatically?

Shopify resizes and serves images through its CDN, but the upload still needs a sensible master and the theme still needs correct sizes. Avoid compressing the same file repeatedly before upload, and check the actual delivered image on a phone rather than assuming the CDN fixes an oversized or soft source.

Official sources

Checked before publishing. Confirm the current requirements on the destination platform before a batch upload.

Related resources

Shopify Responsive Product Images Guide (2026)

How Shopify serves responsive product images, which widths to request, and how to prevent layout shift and soft images on product pages.

Image Core Web Vitals Guide (2026)

How product images affect LCP and CLS, the fixes that actually move the metrics, and the measurement checks that separate a real improvement from a lab-only win.

Product Image File Formats and Compression (2026)

Which file formats and compression settings each marketplace accepts, how to avoid visible artifacts, and the export checklist before a batch upload.

Shopify Product Gallery Layout Guide (2026)

How to structure a Shopify product gallery: the first image, thumbnail versus carousel, mobile crops, variant switching and the order that answers buyer questions.

Resource center

A central entry point for guides, examples, templates, industry pages, and channel hubs.

E-commerce video

Alongside product-image workflows, AISellerKit supports e-commerce video generation from a product start image and a short creative direction. It helps teams explore product motion for PDP heroes, short-form ads, and social previews, while keeping task history in the same account workspace. Teams must review every result for product accuracy and channel compliance before publishing.

Industry pages

Explore category-specific workflows for beauty, electronics, home, pet, and more.

Examples

Inspect public examples for detail pages, hero visuals, and marketplace sets.

Templates

Use reusable prompt and workflow templates for production tasks.