On this page
What this issue is
A phone screen is often 360 to 430 pixels wide. If your hero image is 2400 pixels wide, the phone still downloads all of it, then shrinks it to fit. The extra bytes are wasted. The same happens with background videos, large sliders, and scripts only needed for desktop layouts.
Why it costs you leads or sales
Example: a landing page with five images. Numbers are illustrative, not measured.
- Ad click on phoneVisitor lands on mobile data
- Download pageDesktop-size images and scripts sent
- See offer and formArrives late or visitor leaves
- Submit leadNever reached
The break happens at the download step, and later steps are lost.
How to check if your site has it
Run PageSpeed Insights on mobile
Open pagespeed.web.dev, enter your landing page URL and read the Mobile tab. Look for the audits 'Properly size images', 'Serve images in next-gen formats' and 'Efficiently encode images'.
Emulate a phone in Chrome
Open DevTools (F12), click the device toolbar icon, pick a phone, then open the Network tab and reload. Sort by Size and note the largest files.
Compare file size to display size
In the Network tab, hover an image to see its intrinsic size. In Elements, compare it with the rendered size. A 2000 px file shown at 360 px is oversized.
Compare with desktop
Reload with the device toolbar off. If total transferred size is about the same on both, you are serving the same assets to both.
How to fix it
<img
src="/img/hero-800.jpg"
srcset="/img/hero-480.jpg 480w,
/img/hero-800.jpg 800w,
/img/hero-1200.jpg 1200w,
/img/hero-1920.jpg 1920w"
sizes="(max-width: 600px) 100vw, 50vw"
width="1200" height="800"
alt="Product in use"><picture>
<source media="(max-width: 600px)" srcset="/img/hero-mobile.webp" type="image/webp">
<source srcset="/img/hero-desktop.webp" type="image/webp">
<img src="/img/hero-desktop.jpg" width="1200" height="800" alt="Product in use">
</picture>.hero {
background-image: url('/img/hero-mobile.webp');
}
@media (min-width: 768px) {
.hero {
background-image: url('/img/hero-desktop.webp');
}
}Use proper image sizes
WordPress adds srcset automatically to images inserted from the Media Library. Insert images at a sensible size and avoid hard-coded full-size URLs in page builders or theme files.
Regenerate thumbnails
If your theme added new image sizes, regenerate thumbnails with a plugin so smaller versions exist for old uploads.
Compress and convert
Use an image optimisation plugin to compress and create WebP or AVIF versions. Check that your page builder's background images also use responsive versions, as many builders need a setting for this.
Use image_url with a width
In Liquid, request a size, for example
{{ image | image_url: width: 800 }}, and build a srcset from several widths instead of printing the original.Set the sizes attribute
Match
sizesto your layout, so phones pick the smaller file. Check custom sections, since older themes may output one large URL.Upload sensible originals
Avoid uploading 6000 px camera files. Shopify serves resized versions, but the source still matters for quality and processing.
Check for tag-loaded assets
Custom HTML tags that inject sliders, chat widgets or banners can add large files. Open each tag and set it to fire only where needed, or only on desktop with a screen-width variable if that suits your design.
Let Webflow resize images
Webflow creates responsive versions of images on Image elements. Do not upload huge files, and prefer Image elements over background images where you can.
Replace desktop-only backgrounds
For background images, set a different, smaller image at the Mobile landscape and Mobile portrait breakpoints, or hide heavy elements at those breakpoints. Note that hidden elements may still load, so remove them where possible.
Resize before upload
Upload images close to the size they display, and compress them first. Avoid full-width background images that are several MB.
Set mobile layouts
In the page builder, check the mobile view of each section, and use a smaller or simpler image for mobile where the builder allows it.
Use Wix media and check quality
Wix serves resized versions of media. Avoid oversized video backgrounds and large strips or sliders, and check your mobile view in the editor, which can be edited separately.
Trim mobile-only content
Remove or simplify heavy elements in the mobile editor so they are not loaded for phones.
Upload right-sized images
Squarespace creates several sizes of each image, but very large originals still slow things down. Upload images no larger than needed, and compress them first.
Review banner and background media
Large background videos and banner images are common culprits. Replace background video with a still image on key landing pages.
Generate multiple sizes
Build images at several widths in your build step or through an image CDN, and output
srcsetandsizesin templates.Lazy-load below the fold
Add
loading="lazy"to images below the fold, but not the main hero image, which should load right away.Load desktop-only scripts conditionally
Use
matchMediato load desktop-only scripts only when the screen is wide enough.
if (window.matchMedia('(min-width: 1024px)').matches) {
var s = document.createElement('script');
s.src = '/js/desktop-slider.js';
s.defer = true;
document.head.appendChild(s);
}Before
- One 2400 px hero JPEG for every device
- Background video loads on phones
- Slider script loads on every screen
After
- srcset gives phones a roughly 480 to 800 px file
- Still image replaces video on mobile
- Slider script loads only on wide screens
How to confirm it's fixed
- Re-run PageSpeed Insights on Mobile and see the image audits pass or shrink
- In DevTools with a phone emulated, the largest images are close to their display size
- Total transferred size on mobile is clearly below the desktop figure
- The hero still looks sharp on a real phone, including high-density screens
- Layout does not jump while images load (width and height are set)
- Your form and key buttons still work on mobile
How to prevent it happening again
- Set a size limit for images before upload, for example resize to the widest display size
- Use a CDN or plugin that resizes and converts images automatically
- Test every new landing page on a phone profile before sending ad traffic
- Recheck mobile weight after theme, plugin or page builder updates
- Keep desktop-only widgets out of mobile templates
How FunnelGuard handles this
Questions people ask
Why is my website so slow on mobile but fine on desktop?
A common reason is that phones download the same large images, videos and scripts as desktops, over slower connections and with less processing power. Check the Network tab with a phone profile and look for files much larger than their displayed size. Fixing images with srcset and compression often helps most.
How do I serve smaller images to mobile users?
Add srcset and sizes to your <img> tags so the browser picks a file that matches the screen width. You can also use the <picture> element with a mobile source, or swap CSS background images in a media query. Many platforms and CDNs can generate the sizes for you.
What does 'Properly size images' mean in PageSpeed Insights?
It means the image file is larger than the space it is shown in, so the browser downloads pixels it does not use. The audit lists each image and the potential savings. Resize the file or add responsive sources to clear it.
Does WordPress serve responsive images automatically?
Yes, WordPress adds srcset and sizes to images inserted from the Media Library. It can fail for hard-coded image URLs, some page builder backgrounds and theme images. Check the page source and the Network tab to see what phones actually get.
Should I lazy-load my hero image on mobile?
No. The main image at the top of the page should load right away, because delaying it slows what visitors see first. Lazy-load images further down the page instead, and make the hero image the right size for phones.
Do hidden desktop elements still download on mobile?
Often yes. Hiding an element with CSS does not always stop its images or scripts from loading. Remove the element from the mobile template, use a different image at mobile breakpoints, or load the script conditionally.
Can FunnelGuard tell me which image is too big?
No. FunnelGuard measures mobile page weight on its scheduled checks, but it does not analyse individual image sizes or your srcset setup. Use PageSpeed Insights and the browser Network tab to find the specific files.
Related issues
- PRF-076Total page weight over 3 MB on a landing pageFix guide
- PRF-077Page weight jumped after a change (new unoptimised asset)Fix guide
- PRF-078More than 150 requests on one pageFix guide
- PRF-083Third-party scripts make up over half the page weightFix guide
- PRF-084GIF animations instead of videoFix guide
- PRF-086Video embeds load full player instead of a facadeFix guide