How to fix a slow Shopify product image
If the price and buy button appear while the product photo is still blank, record one mobile load before resizing your images. The recording can tell you whether the browser found the photo late, downloaded too many pixels or had the file ready and waited to show it.
Find the image your customer waits for
Open a product page in Chrome. In DevTools, choose a phone viewport, open Performance and record a page reload. Select the Largest Contentful Paint (LCP) event. This marks when the largest visible image or text block appeared. Check the element it identifies. If it’s the product photo, find that image request in the Network panel. If it’s a heading or a banner, investigate that element first. Chrome’s Performance panel reference
Write down the product URL, selected variant, viewport, network setting and whether the browser cache was disabled. Save the image URL and a screenshot of the timing. You’ll need the same setup to judge the change.
Match the fix to the delay
The request starts late. Check whether the first visible photo has loading="lazy" or a gallery adds its image URL only after JavaScript runs. Ask your theme developer to render the first photo in the initial HTML and load it eagerly. Keep images farther down the gallery lazy-loaded so they don’t compete with the first one.
The download takes most of the time. Inspect the image’s displayed width and the file the browser actually selected. For example, a 360-pixel slot on a phone with a 2× display calls for about 720 pixels of detail. If the browser fetched a 2,400-pixel image, check the theme’s responsive image widths and its sizes setting. Keep the full-resolution original for customers who zoom. Shopify’s theme performance guidance
The file finishes early but the photo appears late. Watch the recording between the end of the download and the LCP marker. Some galleries keep the first slide hidden until their scripts finish. Try showing the first image as soon as its HTML and styles are ready. Then check that swiping, zoom and variant selection still work. Google’s guide to the parts of LCP
Read a sample image trace
Suppose the HTML arrives at 0.4 seconds, the photo starts downloading at 1.8 seconds, and the download finishes at 2.0 seconds. The photo appears at 2.1 seconds. In this example the browser spent 1.4 seconds waiting to request a file that took just 0.2 seconds to download.
On a copy of the theme, inspect the first gallery image. If its address appears only after a carousel script runs, put that first image in the page HTML. Leave the other slides alone. Record the same page again and check whether the request now starts closer to the arrival of the HTML.
Repeat the test with one change
Use a theme preview and change one setting at a time. Repeat several loads under the same conditions and compare the middle result from each set. Check both the time the image request starts and the time the photo appears. Pick a second variant on a real phone and confirm that its photo loads and the page holds its place.
After release, follow mobile LCP in Shopify’s web performance reports as customer visits accumulate. Keep your test timings alongside that trend. If you want help tracing a delay across several product templates, see what Shopify speed optimization includes.