The best website image size depends on the image’s role, its rendered slot, and the devices that will display it. A practical starting point is 1,280 × 720 pixels for a 16:9 hero, 1,200 × 800 for a blog image, and 300 × 300 for a thumbnail. Those are starting dimensions, not universal rules. Pixel dimensions describe width and height; file size describes download weight in bytes; resolution and detail describe how much visual information the file contains. Choose all three deliberately.
Quick reference: practical starting dimensions
The following examples come from Shopify’s June 30, 2026 guidance. Use them as design starting points, then measure the actual slot in your layout and create responsive variants. The background row needs special care: its desktop and mobile examples use different orientations, so art-direct a separate mobile crop rather than treating them as one 16:9 image.
| Website role | Desktop starting point | Mobile starting point | Typical ratio |
|---|---|---|---|
| Background | 2560 × 1400 px | 360 × 640 px | Guide lists 16:9; verify crop |
| Hero | 1280 × 720 px | 360 × 200 px | 16:9 |
| Banner | 1200 × 400 px | 360 × 120 px | 3:1 |
| Blog image | 1200 × 800 px | 360 × 240 px | 3:2 |
| Rectangular logo | 400 × 100 px | 160 × 40 px | 4:1 |
| Square logo | 100 × 100 px | 60 × 60 px | 1:1 |
| Favicon | 48 × 48 px | 48 × 48 px | 1:1 |
| Thumbnail | 300 × 300 px | 90 × 90 px | 1:1 |
| Product thumbnail | 150–300 px | 150–300 px | 1:1 |
For a full-screen desktop lightbox, Shopify’s guide describes 1,920 × 1,080 pixels; its mobile example is 360 × 640 pixels. A square Shopify product image usually displays best at 2,048 × 2,048 pixels. Product and collection workflows permit up to 5,000 × 5,000 pixels (25 megapixels) and under 20 MB. A separate Shopify theme-image upload path documents a 20-megapixel and 20-megabyte maximum. These are upload ceilings for specific Shopify workflows, not performance targets for every website.
Start with the rendered slot, not the original file
Measure displayed width
Inspect the element at the largest layout breakpoint and note its CSS width. If a content column is 800 CSS pixels wide, an image delivered at 4,000 pixels is often unnecessary. A high-density screen may justify a 1.5× or 2× candidate, but the browser should choose that candidate only when device pixel ratio and bandwidth make it sensible.
#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.
Choose the aspect ratio and crop
Keep the subject’s focal point visible at every breakpoint. A wide desktop hero may need a portrait mobile crop. Use separate art direction with <picture> when the composition must change; do not squeeze a 3:1 banner into a 1:1 card and expect the same content to remain readable.
Reserve the space before loading
Always include intrinsic dimensions. Shopify’s developer documentation states: “Always include width and height attributes on img tags.” The browser can then calculate the aspect ratio before the file arrives, reducing image-related layout shift.
<img src="/images/article-1200.jpg"
width="1200" height="800"
alt="A laptop displaying a responsive image demo"
loading="eager"
decoding="async"
style="max-width:100%;height:auto">
Use responsive images so the browser picks the file
Create several widths of the same visual and expose them with srcset. The sizes attribute describes the image’s expected layout width at different viewport widths. The browser combines that information with viewport size and device pixel density when selecting a candidate. Keep a fallback src; Google notes that some browsers and crawlers may not understand responsive attributes.
<img
src="/images/post-800.jpg"
srcset="/images/post-400.jpg 400w,
/images/post-600.jpg 600w,
/images/post-800.jpg 800w,
/images/post-1000.jpg 1000w"
sizes="(min-width:1000px) 800px, 100vw"
width="1200" height="800"
alt="Example responsive image"
loading="eager"
decoding="async">
Four to six candidates are usually enough; add more only when measured layouts justify them. WordPress-generated markup can include srcset and sizes, while Shopify documents automatic variants and CDN format conversion. Check the emitted HTML and the actual downloaded resource instead of assuming the uploaded original is sent unchanged.
Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minutePC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Use picture for format or composition changes
<picture>
<source media="(max-width: 600px)" srcset="/images/hero-mobile.webp">
<source type="image/avif" srcset="/images/hero.avif">
<img src="/images/hero.jpg" width="1280" height="720"
alt="Product dashboard on a laptop">
</picture>
Google Search Central says it can find images in the src attribute of an img element, including when the image is inside picture. Use a meaningful fallback URL and a descriptive alternative text.
Pixel dimensions, file bytes, and visual quality are different
Dimensions
Dimensions are the pixel width and height. They determine how much the image can be enlarged before becoming soft and how much work the browser must decode.
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.
File size
File size is the number of bytes transferred and stored. Two 1,200 × 800 images can have radically different sizes depending on format, compression, transparency, and image complexity. Resize to the largest needed delivery width, then compress while retaining acceptable detail. There is no single correct KB or MB limit for every image.
Resolution and detail
Resolution in a design application can refer to print density; it is not a substitute for web pixel dimensions. A 300-dpi tag does not make a 600-pixel image sharper in a browser. Export the required pixel dimensions and let CSS control display size.
Choose a format and compression strategy
- JPEG: Useful for photographs, product images, and slideshows where lossy compression is acceptable.
- PNG: Useful for line drawings, text-heavy graphics, and transparency.
- WebP or AVIF: Often efficient modern delivery formats when your platform and browser support them.
- SVG: Appropriate for many logos and icons that are genuinely vector artwork.
- GIF: Supported for images but usually inefficient for photographic animation compared with modern video formats.
Google Search Central lists BMP, GIF, JPEG, PNG, WebP, SVG, and AVIF as supported formats for images referenced by an img element. Match the filename extension to the actual file type. Shopify says its platform can select a delivery format and serve WebP or AVIF when the visitor’s browser supports them; those are Shopify-specific handling notes, not a universal ranking of formats.
Upload limits are not performance goals
An uploader accepting a 5,000-pixel image does not mean a 5,000-pixel image belongs in a 300-pixel card. Keep a high-resolution master when your workflow needs it, but generate delivery variants that match real slots. For Shopify, distinguish the workflow: product and collection documentation says up to 5,000 × 5,000 pixels or 25 MP and under 20 MB; the theme-image page says 20 MP and 20 MB. Recheck platform limits because they can change.
Check the experience with real metrics
Images contribute to page-level Core Web Vitals, but the metrics are not image-only limits. Google’s current “good” thresholds are:
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.
- LCP within 2.5 seconds for loading performance.
- INP under 200 milliseconds for responsiveness.
- CLS below 0.1 for visual stability.
Test a representative page on mobile and desktop, with cache disabled for a cold-load check and with a repeat visit for cache behavior. Inspect the image request in browser developer tools: URL, transferred bytes, intrinsic dimensions, decoded dimensions, format, and whether the candidate matches the rendered slot. A hero that is the largest content element deserves priority; below-the-fold images can normally be lazy-loaded. Do not lazy-load the image that determines LCP without a measured reason.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Search visibility and accessibility
Use a standard HTML img for discoverable content; Google says it does not index CSS background images. Write concise alt text that conveys the image’s purpose, and use an empty alt attribute for purely decorative images. The surrounding page content and metadata influence how an image may appear in Search. For og:image or structured data, choose a representative image rather than a generic logo or text-heavy graphic. None of these practices guarantees indexing or a ranking increase.
A repeatable sizing workflow
- Inventory placements: list hero, article, card, logo, product, and background slots.
- Measure each slot: record CSS width at relevant breakpoints and its aspect ratio.
- Set crops: decide whether mobile uses the same crop or an art-directed variant.
- Export candidates: make roughly four to six widths around the measured slot, including a fallback.
- Encode appropriately: choose JPEG, PNG, WebP, AVIF, or SVG according to image content and transparency needs.
- Add markup: use
srcset,sizes, intrinsicwidth/height, alt text, and responsive CSS. - Verify delivery: inspect the downloaded candidate on real viewport sizes and pixel densities.
- Measure outcomes: check LCP, INP, CLS, transferred bytes, and visual quality, then revise.
Common problems and fixes
The image looks blurry
Cause: the largest candidate is narrower than the rendered slot, aggressive compression, or an enlarged thumbnail. Export a wider candidate, correct the sizes expression, and compare quality at the actual display size.
The page jumps while loading
Cause: missing intrinsic dimensions or a CSS box whose ratio is unknown. Add accurate width and height attributes or an equivalent aspect-ratio reservation.
Mobile downloads the desktop original
Cause: absent or incorrect srcset/sizes, or a platform that did not generate variants. Inspect the HTML and network request; fix candidate URLs and breakpoint conditions.
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 image is cropped incorrectly
Cause: one source is being forced into incompatible ratios. Use object-fit with a deliberate focal point, or provide a mobile source in picture.
Upload rejected
Cause: the selected platform workflow’s pixel, megapixel, or byte ceiling. Check whether you are using Shopify’s product/collection path or theme-image path, then resize or recompress within that path’s documented limit.
Modern format does not display
Cause: incorrect MIME type, extension mismatch, or unsupported client. Verify server headers and retain a JPEG or PNG fallback through picture or src.
Or skip the browser setup
When you need a reliable screenshot of a page to inspect image crops, responsive layouts, or rendered assets, ScreenshotNeo returns a PNG, JPEG, WebP, or PDF from one GET request. Before capture it accepts cookie and consent banners and removes more than 60 known consent platforms, newsletter popups, and chat widgets; each cleanup step can be turned off. Bot checks and CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and response headers identify the page verdict and billing status. Its MCP server provides take_screenshot, get_page_info, and capture_pdf tools for Claude, Cursor, and other MCP clients.
Free tools Windows power users keep installed
One-click scans. No signup required.
Use the complete API options for viewport, device presets, retina scale, full-page lazy-image loading, CSS selectors, dark mode, custom CSS or JavaScript, clicks, waits, blocked resources, headers, cookies, user agent, timezone, geolocation, transparent backgrounds, resizing, caching TTL, signed links, asynchronous webhooks, bulk capture of up to 100 URLs per call, usage reporting, and PDF settings. Every plan includes every feature. The Free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots. See the ScreenshotNeo documentation for parameters and authentication.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
Create a free ScreenshotNeo account with 1,000 screenshots per month and no card.
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.
FAQ
Should every website image be 1,920 × 1,080?
No. That size suits a full-screen 16:9 lightbox, not every card, logo, banner, or product slot.
Is 300 DPI needed for web images?
No. Browsers use pixel dimensions and CSS size; print-density metadata does not replace adequate web pixels.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
How many responsive widths should I create?
Start with four to six candidates, then adjust when measured layouts show a gap or unnecessary downloads.
Frequently Asked Questions
Can I use one original image for desktop and mobile?
Only when the aspect ratio and focal point remain appropriate at both breakpoints; otherwise provide an art-directed mobile crop.
Do smaller images always improve SEO?
Smaller appropriate downloads can improve user experience, but no fixed file-size target guarantees rankings or indexing.
The Bottom Line
Choose image dimensions from the rendered slot and crop, deliver responsive candidates with intrinsic dimensions, compress for the content type, and validate the result with real requests and Core Web Vitals.
Do these 3 things before closing this tab:
1Fix the driver behind crashes, sound loss and screen glitches2Clear out junk files and repair common Windows errors3Scan for outdated or missing drivers - takes under a minuteQuick 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.

