
The Durban e-commerce team had just finished a product shoot: 40 hero JPEGs, each 3-5 MB straight from the camera, plus retina 3x exports. They uploaded them into a Shopify theme expecting the platform to handle it. Two months later, mobile conversion rate had dipped and the design team was blaming the theme. The real problem wasn't the plugin-it was that no one owned the image pipeline between the camera and the customer.
Why Image Weight Is a Design-Governance Problem, Not a Plugin Problem
Most South African teams treat image optimisation as a checkbox: install a compression app, run a bulk optimiser, move on. But plugins only compress what they're given. If a designer exports a 4000px wide PNG with no compression and hands it to a content editor, the plugin can only do so much. And if the editor uploads a 3 MB hero image for a 800px wide slot, you've wasted bandwidth before the CDN even sees it. The fix is governance: define who sources, crops, exports, and audits imagery-and create export presets that enforce those decisions before upload.
For South African audiences, many on constrained mobile data, every unnecessary kilobyte has a direct cost to the user-and a measurable effect on engagement and conversion.
The Image Pipeline Map: Who Sources, Who Crops, Who Exports, Who Audits
A repeatable pipeline assigns clear responsibilities. Below is a model we use when auditing image performance for clients across retail, property, and tourism.
| Role | Responsibility | Key decisions |
|---|---|---|
| Designer / Photographer | Source and crop raw imagery; export at target dimensions | Aspect ratio, crop safety, export width (e.g. 1600px for hero, 800px for product) |
| Developer | Implement srcset/sizes, intrinsic dimensions, lazy loading, fetchpriority | Which images are LCP candidates; how to handle art direction |
| Content Editor | Upload, alt text, filenames, metadata | Descriptive filenames, informative vs decorative alt |
| Marketing / SEO Lead | Audit cadence, structured data, image sitemaps, reporting | Monthly crawl for oversized images; attribution of UX changes |
AVIF, WebP or JPEG? A Format Decision Table for South African Sites
Format choice affects both weight and compatibility. AVIF offers the best compression but has patchy support on older Android devices common in South Africa; WebP is widely supported and typically 25-35% smaller than JPEG at equivalent quality; JPEG remains the universal fallback. Use the <picture> element to serve AVIF or WebP with a JPEG fallback-no JavaScript required.
| Format | Browser support | Relative weight | Best use case |
|---|---|---|---|
| AVIF | Chrome, Edge, Firefox, Safari 16.4+ | Lowest | Hero and product images where support allows; pair with fallback |
| WebP | All modern browsers | ~25-35% smaller than JPEG | Default choice for most content images |
| JPEG | Universal | Baseline | Fallback for legacy browsers; photographic images where compression matters less |
Responsive Images in Practice: srcset, sizes and Intrinsic Dimensions That Stop CLS
Serving one large image to all devices wastes data on mobile and under-delivers on desktop. Use srcset to list width descriptors and sizes to tell the browser the image's display width at different breakpoints. Always include width and height attributes to prevent layout shift (CLS). Below is a minimal example:
<img
src="product-800.jpg"
srcset="product-400.jpg 400w, product-800.jpg 800w, product-1200.jpg 1200w"
sizes="(max-width: 600px) 100vw, 50vw"
width="800" height="600"
alt="Blue ceramic vase with floral pattern"
loading="lazy">For art direction (e.g. different crops on mobile), use <picture> with media attributes. Never rely on CSS to resize images-the browser still downloads the full file.
Finding the Real LCP Element and Prioritising That One Image
Largest Contentful Paint (LCP) is often an image-usually a hero or above-the-fold product shot. But guessing which one is a mistake. Use field data from Chrome UX Report (CrUX) or your RUM tool to identify the actual LCP element. Then, prioritise that one image: add fetchpriority="high" and consider preloading it in the <head> (but only for that image; preloading many images competes for bandwidth). Avoid lazy-loading the LCP image-it delays discovery.
Warning: Applying fetchpriority="high" to every image defeats the purpose. Browsers already prioritise images in the viewport; overuse can starve other critical resources.
What Shopify and WooCommerce Handle For You - and What Designers Break
Shopify's CDN automatically serves WebP and resizes images via URL parameters (e.g., _400x400), but only if you use the img_url filter in Liquid. Uploading a 2000px image and displaying it at 400px without the filter wastes bandwidth. WooCommerce generates srcset sizes for thumbnails, but custom theme code often bypasses them. The common breakage: designers upload raw exports, and developers forget to specify sizes or add width/height.
Alt Text, Filenames and Structured Data: Image SEO Beyond Page Speed
Alt text serves accessibility first: describe the image's content and function. Informative images need concise alt; decorative images should have alt="". Avoid keyword stuffing-it harms accessibility and can be flagged as spam. Filenames should be descriptive (e.g., blue-ceramic-vase.jpg), not IMG_1234.jpg. For product images, implement Product structured data with ImageObject to enhance visibility in Google Images and Shopping.
The Pre-Publish Image Checklist and Export Preset
Before any image goes live, run this checklist:
- Exported at target width? (e.g., 1600px for hero, 800px for product)
- Format: AVIF/WebP with JPEG fallback via <picture>?
- File size under 200 KB for hero, 100 KB for product?
- Width/height attributes set to prevent CLS?
- Descriptive filename and alt text?
- LCP image has fetchpriority="high" and is not lazy-loaded?
- Structured data (ImageObject) present for product images?
Create export presets in Photoshop or Figma to automate correct sizing and compression. A free tool like Squoosh can generate AVIF/WebP during design handoff.
Measuring Outcomes: Field Core Web Vitals, Attribution and Commercial Impact
Image optimisation should move business metrics, not just lab scores. Track field LCP and CLS via custom reporting. Correlate improvements with conversion rate, CPA, and MER-but avoid attributing causality without controlled tests. For UX changes, use A/B testing with proper consent (POPIA and GA4 consent mode). At Prebo Digital, we often pair web design and CRO work to ensure image changes are tested and measured.
Tip: Start with your top 10 revenue-driving product images. Optimising those first gives the clearest commercial signal.




