k-sync
Back to blog

Product photography & image migration from WooCommerce to Shopify (2026)

How to migrate, optimize, and improve product photography when moving from WooCommerce to Shopify — image formats, alt text, re-upload strategy, CDN benefits, variant images, and photography best practices.

·By k-sync
6 min read · 1,187 words

Product images are the most critical visual element in ecommerce — they drive purchase decisions more than any other factor for physical products. A WooCommerce to Shopify migration is both a risk (breaking image URLs, losing variant image associations) and an opportunity (upgrade to Shopify's superior CDN, fix alt text, improve image quality). Here's how to handle images professionally throughout your migration.

How WooCommerce stores product images

Understanding WooCommerce's image storage helps you plan the migration correctly:

Image URL strategy during migration

Option A: Reference original WooCommerce URLs (quick but fragile)

Option B: Download and re-upload to Shopify (recommended)

Option C: Shopify fetches from URL during CSV import

Shopify's CDN and image handling

How Shopify serves images

Image size best practices for Shopify upload

Alt text migration

WooCommerce product images have alt text stored in WordPress. This alt text is critical for SEO and accessibility — Google uses image alt text as a ranking signal for image search and product discovery. Alt text is often lost in migrations.

Extracting alt text from WooCommerce

-- SQL to export product image alt text
SELECT
  p.post_title as product_title,
  a.post_title as image_title,
  a.post_excerpt as image_caption,
  am.meta_value as alt_text
FROM wp_posts p
JOIN wp_postmeta pm ON p.ID = pm.post_id AND pm.meta_key = '_thumbnail_id'
JOIN wp_posts a ON a.ID = pm.meta_value
JOIN wp_postmeta am ON a.ID = am.post_id AND am.meta_key = '_wp_attachment_image_alt'
WHERE p.post_type = 'product';

Alt text best practices for Shopify

Variant images

WooCommerce variable products assign images to specific variations. This must be preserved in Shopify:

How variant images work in Shopify

Migrating variant images from WooCommerce

  1. Export variant images from WooCommerce: each variation has _thumbnail_id in wp_postmeta
  2. Collect: variation ID → image URL mapping
  3. During Shopify product creation via API: upload all images first, then assign image IDs to variant IDs
  4. Via CSV: Shopify CSV doesn't support variant-image assignments directly — use Matrixify or API for this
  5. Post-import: manually assign variant images via Admin → Products → Edit product → Variants section (acceptable for small catalogs)

Image SEO improvements during migration

Migration is the ideal time to improve image SEO:

WooCommerce images that need attention

Images with watermarks from old service

Very small or compressed images

Image migration checklist

The migration is the right time to invest in better product photography. Stores that re-photograph their top 20 products during migration consistently see conversion rate improvements beyond what the platform change alone would deliver. Shopify's CDN will serve even modest product photos better than a typical shared WordPress host, but the starting quality matters. A 2000×2000px photo on Shopify's Fastly CDN will perform better than the same 800×800px photo on WooCommerce's shared hosting — but a newly shot, well-lit 2000px photo will perform best of all.

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