k-sync
Back to blog

Shopify image optimisation after migrating from WooCommerce (2026)

How to optimise product images after migrating from WooCommerce to Shopify — image formats, alt text migration, CDN configuration, lazy loading, and avoiding Core Web Vitals regressions during migration.

·By k-sync
4 min read · 783 words

Product images are often the single largest contributor to page weight on ecommerce sites. After migrating from WooCommerce to Shopify, image handling changes significantly: Shopify's CDN automatically converts images to WebP and serves them via Shopify's global CDN. But the migration process itself can introduce problems — low-resolution images, missing alt text, and oversized uploads — that hurt both performance and SEO.

How Shopify handles images differently from WooCommerce

WooCommerce image handling

Shopify image handling

Image quality issues during migration

Images imported at reduced resolution

When k-sync imports product images from WooCommerce, it fetches images via the WooCommerce product API, which returns the full-size image URLs. However, some WooCommerce stores serve medium-size thumbnails in their API responses rather than full-size images. Check post-migration that product images are at least 1000×1000px for adequate zoom quality in Shopify's product gallery.

Images with compressed quality from old uploads

Images uploaded to WooCommerce years ago may have been compressed or resized when originally uploaded. Migrating these to Shopify does not improve their quality — they arrive at the same quality they were stored in WooCommerce. The migration is an opportunity to audit and replace low-quality product images.

Alt text not migrated

WooCommerce stores alt text at the WordPress Media Library level (the alt field on the attachment post). This is separate from the product, and many WooCommerce export tools don't include it. k-sync fetches alt text from the WooCommerce API where available (images[].alt field), but many WooCommerce stores have empty alt text even in WooCommerce.

Shopify CDN image URL parameters

Shopify's image CDN supports URL parameters for on-the-fly resizing. Understanding these helps with theme development and manual fixes post-migration:

// Original:
https://cdn.shopify.com/s/files/1/0000/0001/products/shirt.jpg

// Resize to 800px width (maintains aspect ratio):
https://cdn.shopify.com/s/files/1/0000/0001/products/shirt_800x.jpg

// Resize to exactly 800×600 (crops if needed):
https://cdn.shopify.com/s/files/1/0000/0001/products/shirt_800x600.jpg

// Or via URL parameter (in liquid):
{{ product.featured_image | image_url: width: 800 }}

In Shopify Liquid, always use image_url with a width parameter rather than serving the full-size original. This is the single biggest performance improvement available.

LCP (Largest Contentful Paint) after migration

LCP is typically dominated by the product hero image on product pages or the hero banner on the homepage. After migration, LCP regressions are common because:

The above-the-fold hero image should always have loading="eager" (or no loading attribute) and a fetchpriority="high" attribute to trigger early browser loading. Check your theme's product gallery and homepage hero image markup after migration.

Alt text strategy after migration

Every product image should have descriptive alt text for:

After WooCommerce migration, alt text can be updated in Shopify admin two ways:

  1. Shopify admin: Products → [Product] → Images → hover over image → Edit alt text. Time-consuming for large catalogs.
  2. Bulk via Shopify API: The productImageUpdate mutation accepts altText. A script can batch-update alt text from a CSV export.

A practical alt text formula for product images: "[Brand] [Product Name] — [Colour/Variant] [Key Descriptor]". Example: "Nike Air Max 90 — Triple Black men's running shoe".

Image file naming after migration

WooCommerce images often have poor file names: product-12345.jpg or img_0042.jpg. Shopify preserves the original file name when uploading. While Shopify's CDN URL doesn't show the file name in the same way as WordPress URLs, the image file name does appear in Google Image Search and can influence ranking.

Before migration, rename key product images to descriptive names where possible: nike-air-max-90-triple-black-side-view.jpg.

Post-migration image checklist

Migrate your store with k-sync

Connect your WooCommerce store, validate your products, and push to Shopify in minutes. Free for up to 50 products.

Get started free

Related reading

Browse all migration guides