There is no one correct homepage image size: match the source image to the role and rendered shape. As starting points, use 1,280 × 720 px for a conventional desktop hero, 1,200 × 400 px for a shallow desktop banner, and roughly 1,920–2,560 px wide for a full-width background. For mobile, consider a separate crop—Shopify gives 800 × 1,200 px as one tall-hero example—rather than shrinking a wide desktop composition into a narrow screen. These are guidelines, not requirements; your theme’s container and crop behavior determine the final dimensions.
Recommended homepage image sizes by role
Shopify’s 2026 guidance offers several useful starting points because a hero, banner, and background have different proportions. Its general table lists a 1,280 × 720 px desktop hero, while a separate hero guide gives 1,600 × 500 px for a shallow desktop hero. Neither is universally right: choose the shape that matches the space your design actually uses.
| Image role | Desktop starting point | Mobile starting point | Aspect ratio and use |
|---|---|---|---|
| Conventional hero | 1,280 × 720 px (Shopify, 2026) Source | 360 × 200 px in Shopify’s general table; a separate tall crop can be 800 × 1,200 px (Shopify, 2026) Source Source | About 16:9 for the desktop example; use a taller portrait composition when the mobile layout calls for it. |
| Shallow desktop hero | 1,600 × 500 px (Shopify, 2026) Source | Use a separately composed mobile version if the narrow layout crops important content. | Wide and shallow; suitable where the hero container is a banner-like strip. |
| Website banner | 1,200 × 400 px (Shopify, 2026) Source | Set dimensions to the mobile banner container or provide a mobile-specific crop. | 3:1; suited to a shallow promotional or introductory banner. |
| Full-width background | 2,560 × 1,400 px; Shopify gives typical banner/background widths of 1,920–2,560 px (Shopify, 2026) Source | A separate mobile crop may preserve the subject better than a center crop. | Large landscape image intended to cover a broad area; the rendered container controls the visible crop. |
The mobile values are examples, not prescriptions for every phone or theme. Check the actual rendered image area at the breakpoints your site supports before exporting. Shopify’s guidance emphasizes choosing dimensions for the role, keeping files lean, and using responsive design rather than relying on a single universal size.
Decide whether mobile needs a different image
A wide desktop image can lose its subject when a responsive layout crops it to fill a tall, narrow container. Shrinking the desktop file does not change its composition. If the face, product, logo, headline, or call to action moves out of view, use a mobile-specific crop or art direction instead.
Use one flexible image when the composition survives
If the essential subject remains visible in both layouts, a single source image can work. Keep the important content near the center and leave space around it. The theme may scale or crop the file differently as the viewport changes, so verify the result in the real page rather than assuming the source dimensions dictate what visitors see.
Use separate art direction when the crop changes
When mobile needs a portrait composition and desktop needs a wide landscape image, provide distinct sources with the HTML <picture> element. The browser chooses a source based on the media condition; the image is not merely a smaller desktop file.
#1 Best Overall
- Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
- Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
- Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
- Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
- 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
<picture>
<source
media="(max-width: 600px)"
srcset="/images/home-hero-mobile.webp"
type="image/webp"
>
<source
srcset="/images/home-hero-desktop.webp"
type="image/webp"
>
<img
src="/images/home-hero-desktop.jpg"
alt="A person using the featured product"
width="1280"
height="720"
>
</picture>
Replace the example paths, breakpoint, alt text, and intrinsic dimensions with values appropriate to your assets and layout. If the image is decorative, use an empty alt attribute (alt="") rather than describing it as meaningful content.
Serve an appropriately sized responsive image
Even when one composition works for every screen, the browser should not have to download the largest image for a small display. Use srcset to list available image widths and sizes to describe the expected rendered width. The browser can then select a suitable candidate for the viewport and device density. Shopify Developers warns that without srcset and sizes, the browser has only one image to download regardless of viewport; Google’s web.dev guidance likewise recommends considering screen size, device resolution, and page layout.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
<img
src="/images/home-hero-1280.webp"
srcset="
/images/home-hero-640.webp 640w,
/images/home-hero-1280.webp 1280w,
/images/home-hero-1920.webp 1920w
"
sizes="(max-width: 700px) 100vw, 1280px"
width="1280"
height="720"
alt="A person using the featured product"
>
The 640w, 1280w, and 1920w labels describe each file’s actual pixel width. The sizes value is an estimate of the image’s CSS display width under the stated condition, not a command to resize the file. Adjust it to match your page’s real layout; if the hero is capped at a narrower content width, do not describe it as full viewport width on large screens.
Rank #2
- 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
- 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
- Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
- 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
- What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
Keep the focal point safe from cropping
Many themes fill a container using cover behavior, which can trim parts of the source image to avoid empty space. Place critical content—especially logos, text embedded in the artwork, faces, and product details—in a central safe area. Avoid baking a headline or button into the image if the page can render it as HTML: separate text remains accessible and can reflow on mobile.
- Preview the hero at desktop and mobile widths, including intermediate widths where the crop may change.
- Check the actual theme’s focal-point or image-position setting; centered cropping is not guaranteed.
- If the subject cannot remain visible with one crop, create a separate mobile composition and use
<picture>. - Do not infer the visible crop from the source pixel dimensions alone; the container’s aspect ratio and theme rules affect it.
Prevent layout shift and control image weight
Include intrinsic width and height attributes on an image, or reserve an equivalent aspect ratio in CSS. The browser can allocate space before the image arrives, reducing unexpected movement. Shopify Developers identifies missing width and height attributes as a common cause of Cumulative Layout Shift (CLS). If a responsive image has different source dimensions, ensure the reserved ratio matches the displayed composition or use CSS that preserves the intended ratio.
Pixel dimensions are only part of performance. The encoded file size, image format, network, caching, loading priority, and theme behavior all matter. Shopify describes around 500 KB as a useful compressed-image target in many cases and warns that files above 20 MB can hurt speed; treat these as general guidance, not a guarantee that a particular page will load quickly. Shopify identifies WebP as a popular web image format. Use a modern format where your delivery setup supports it, while keeping a suitable fallback when necessary.
Rank #3
- Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
- Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
- Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
- Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
- What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
For the main above-the-fold hero, avoid lazy-loading it if that would delay its appearance; reserve lazy loading for images that start below the initial viewport. Do not add eager or high-priority loading indiscriminately to every image. Confirm the final behavior in your page markup and theme, then assess the page’s actual loading experience. Shopify’s hero guidance references a 2.5-second Largest Contentful Paint (LCP) target from Google Core Web Vitals; image dimensions alone cannot ensure that result.
How to choose and validate the final dimensions
- Identify the role. Decide whether the asset is a shallow banner, conventional hero, or full-width background; use the table’s corresponding starting point.
- Measure the rendered container. Inspect the theme’s desktop and mobile layout, including its breakpoints, maximum width, and cropping behavior.
- Choose the composition. Use one image if the focal point survives all crops; otherwise prepare separate desktop and mobile art direction.
- Export responsive variants. Generate a small range of widths appropriate to the rendered layout and density needs, then reference them with
srcsetandsizes. - Compress and reserve space. Use a suitable web format and sensible quality, include intrinsic dimensions or an equivalent aspect ratio, and avoid delivering a needlessly oversized file.
- Test the real page. Preview desktop, mobile, and intermediate widths; check crop, text contrast, focal point, layout stability, and whether the correct candidate image is used.
Troubleshooting common homepage image problems
The hero is cropped incorrectly on mobile
The source is likely being fitted to a differently shaped container. Adjust the theme’s focal point or image-position setting, or supply a separate mobile crop with <picture>. Do not simply lower the desktop image’s pixel dimensions if the composition itself is wrong.
The page downloads a large image on a small screen
Check that srcset contains files with truthful width descriptors and that sizes reflects the rendered CSS width. If the theme outputs only one source, use its responsive-image controls or update the markup so the browser has appropriate candidates.
Rank #4
- Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
- Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
- Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
- Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
- Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
The page jumps when the image loads
Set intrinsic width and height or reserve the image’s aspect ratio in the layout. Confirm the reserved space corresponds to the selected image’s display ratio, especially if the mobile source has a different crop.
Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Scan for outdated or missing drivers - takes under a minute3Repair Windows errors before they cause bigger problemsThe image looks blurry on a high-density screen
Check whether the chosen source has enough pixels for the rendered CSS width and device density. Add a larger candidate to srcset if needed, while retaining smaller candidates so every visitor does not download the largest file.
The hero loads slowly despite suitable dimensions
Inspect the encoded file size, format, loading behavior, and actual network delivery. Dimensions do not determine bytes by themselves. Compress or re-export the asset, avoid loading unnecessary large candidates, and check whether the hero is being delayed by lazy loading or other page work.
Best Value
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
Or skip the browser setup
If you need to inspect how your homepage actually renders across devices, ScreenshotNeo can capture the page through one API request. For example, this cURL request saves a WebP screenshot of the homepage:
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o homepage.webp
See the ScreenshotNeo API documentation for request options. ScreenshotNeo accepts cookie or consent banners before capture and removes more than 60 known consent platforms, newsletter popups, and chat widgets; each cleanup step can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed, and the response reports the page verdict and billing status in headers. An MCP server provides screenshot tools for Claude, Cursor, and other MCP clients. The free plan includes 1,000 shots per month without a card; paid plans start at $5 for 3,000 shots. See ScreenshotNeo for details, or sign up free to get 1,000 screenshots a month with no card.
The Tool Desk
Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Frequently Asked Questions
Should I use a 16:9 image for every homepage hero?
No. A 16:9 source is one useful conventional hero starting point, but a shallow banner or mobile-first hero may need a different aspect ratio.
Do larger pixel dimensions automatically make a homepage image look better?
No. The image also needs an appropriate composition, crop, rendered size, and encoded file size for the page.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

