What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
A website hero image is the prominent visual near the top of a page, usually spanning the viewport width and paired with a headline, short supporting copy and one primary action. The most reliable implementation treats the artwork as responsive wallpaper: compose it with room for HTML text, serve an appropriately sized format, reserve its dimensions, and art-direct the mobile crop instead of shrinking the desktop file everywhere.
What a hero image is—and what it must do
A hero establishes the mood of a page and helps visitors understand the offer quickly. The National Science Foundation describes hero components as full-width areas containing a large image at the top of a page, with space for a headline, supporting text and a link or button.
That definition separates a hero from an ordinary content image. A product detail photo explains a feature; a hero creates context and directs the first decision. The image should support the message, not compete with it.
Three useful hero patterns
- Atmospheric wide photograph: A landscape or product-in-context scene places the subject to one side and leaves negative space for the headline. This “wallpaper” composition tolerates responsive cropping better than a busy portrait.
- Art-directed campaign image: Desktop and mobile use different crops or even different artwork. The mobile version keeps the focal point clear and avoids placing it beneath navigation or the call-to-action.
- Product or service hero: A clear image of the product in use sits beside a concise value statement and one primary CTA. Keep the offer text in HTML rather than inside the bitmap.
Choose dimensions and composition before exporting
For a full-width hero, start with a wide, high-resolution source. NSF recommends at least a 1.7:1 width-to-height ratio and gives 1920×1080 (16:9) as a preferred full-size example. That is a starting canvas, not a promise that every device will display the entire frame.
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Clear out junk files and repair common Windows errorsFree Scan →#1 Best Overall
Build a safe area
Place the visual subject away from edges that may be cropped. Reserve relatively quiet space for the heading, supporting copy and CTA. Check the composition at desktop, tablet and narrow-phone aspect ratios; a focal point that is safe at 16:9 can disappear when a container becomes tall and narrow.
- Keep faces, products and logos out of likely crop zones.
- Leave enough contrast behind the text area for a readable overlay.
- Do not bake the headline, price or button into the image.
- Prepare a version without text so content can be translated, resized and indexed.
Informative versus decorative artwork
An informative image communicates something visitors need to understand. Give it concise, contextual alternative text. A texture or illustration that adds atmosphere but no information is decorative; use the appropriate empty alternative so assistive technology does not announce redundant content. W3C WAI notes that alternatives support screen readers, Braille displays, speech input, mobile users and search engines.
Responsive hero images: picture, srcset and sizes
Responsive delivery has two separate jobs. Resolution switching serves the same composition at an appropriate pixel density; art direction changes the composition when the crop itself must change.
Use srcset and sizes for one composition
When the subject remains in the same place, provide width variants and tell the browser how wide the image will render:
Recommended Free Tools
<img
src="/images/hero-1280.webp"
srcset="/images/hero-640.webp 640w,
/images/hero-1280.webp 1280w,
/images/hero-1920.webp 1920w"
sizes="100vw"
width="1920"
height="1080"
alt="A team reviewing a dashboard beside a laptop">
The fallback src remains useful for older or unusual clients. Adjust sizes if the hero occupies only part of the layout—for example, (min-width: 900px) 50vw, 100vw for a two-column design.
Use picture for art direction
If mobile needs a tighter crop, use <picture> with a media-specific source:
Rank #2
- 【Complete Book Club Banner Set】You will receive 1 book banner with letters spelling 'BOOK CLUB', 1 plastic needle and a 5m rope. The book club decor creates a peaceful and beautiful atmosphere for reading and studying.
- 【Reliable Material】The book club decorations is made of premium cardboard, which is lightweight and sturdy, ensuring that it retains its luxurious look and shape throughout the party.
- 【Easy to Install】Designed with user convenience in mind, the book themed party decorations require minimal setup time. The included plastic needle easily threads through pre-punched holes on each card, while the 5m rope accommodates various hanging spaces.
- 【Vintage Design】The distressed typography and classic book stack graphics evoke a cozy, old-library feel. The eye catching graphics add a fun and festive touch to your reading events, making your event stand out from ordinary party decor.
- 【Wide Application】Book club banner can be widely used to decorate book themed party, book lover party, newspaper birthday party, library themed party, girls night party, book reading theme party and so on.
<picture>
<source media="(max-width: 767px)"
srcset="/images/hero-mobile.avif 768w,
/images/hero-mobile-2x.avif 1536w"
sizes="100vw"
type="image/avif">
<source media="(max-width: 767px)"
srcset="/images/hero-mobile.webp 768w"
sizes="100vw"
type="image/webp">
<img src="/images/hero-desktop.jpg"
width="1920" height="1080"
alt="A team reviewing a dashboard beside a laptop"
fetchpriority="high">
</picture>
The browser chooses the first matching source. Keep the focal subject visible in the mobile artwork rather than relying on CSS to rescue a fundamentally wrong crop.
Formats, loading and layout stability
Offer modern formats with a fallback
AVIF and WebP can reduce transfer size; retain a broadly supported JPEG or PNG fallback. Use the format sources shown above and verify that transparency, color and fine detail survive conversion.
Reserve space with dimensions
Always provide width and height, or reserve an equivalent aspect ratio in CSS. The browser can then allocate space before the image arrives, reducing cumulative layout shift and preventing text and buttons from jumping.
Do not lazy-load the above-the-fold hero
The hero is commonly the largest contentful paint (LCP) image. Chrome guidance recommends normal eager loading for an important above-the-fold image and supports fetchpriority="high" when it is the LCP candidate. Reserve loading="lazy" for images below the fold; lazy-loading the first visual can delay the page’s primary content.
.hero {
aspect-ratio: 16 / 9;
min-height: 360px;
overflow: hidden;
position: relative;
}
.hero img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: 65% center;
}
@media (max-width: 767px) {
.hero { aspect-ratio: 4 / 5; }
.hero img { object-position: 50% center; }
}
Use CSS cropping only when one composition works at every breakpoint. Otherwise switch to an art-directed source.
Keep text readable and accessible
Put words in HTML
Text embedded in a bitmap can pixelate, crop or become unreadable as the image resizes. It also cannot be selected, translated or reliably announced by assistive technology. Place the heading, supporting copy and CTA in a semantic HTML layer:
Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Scan for outdated or missing drivers - takes under a minute3Clear out junk files and repair common Windows errorsRank #3
- Book Party Decorations: Package include 1 x vintage book club banner. The book club banner comes pre-assembled for quick and easy hanging, effortlessly decorating your reading-themed event or party.
- Durable Material: Book themed party decorations bunting is made of high quality burlap material, which is thick, not easy to tear, and durable.
- Widely Use: Book club banner is suitable for hanging on desks, walls, windows, and other indoor or outdoor surfaces, adding a decorative highlight to your book themed party.
- Book Themed Party Decorations: Perfect for decorating book themed party, book lover party, book themed birthday party, library themed party, book reading theme party, school reading event and so on.
- If there are any questions about our book themed banner, please contact us and we will get back to you within 24 hours.
<section class="hero" aria-labelledby="hero-title">
<img src="/images/hero.webp" width="1920" height="1080"
alt="A designer presenting a new mobile interface">
<div class="hero__content">
<h1 id="hero-title">Design reviews without the busywork</h1>
<p>Share one clear workflow with every stakeholder.</p>
<a class="button" href="/demo">See the demo</a>
</div>
</section>
Check contrast at every breakpoint
Contrast changes when a crop exposes a lighter or busier region behind the copy. Test the actual desktop and mobile renderings, not just the source file. A restrained gradient or solid panel behind the text can preserve readability without obscuring the subject.
Ensure the CTA remains keyboard reachable, has a visible focus style and is not covered by decorative layers. Do not make the entire hero a clickable image when a clearly labeled link communicates the action better.
Account for motion and reduced-motion preferences
If the hero uses video, parallax or animated transitions, provide a still fallback and respect the user’s reduced-motion preference. A static image should still convey the page’s essential context when motion is disabled or unavailable.
Implementation checklist
- Define the message, one primary CTA and the focal subject.
- Compose a wide source with a 1.7:1-or-wider canvas and a text-safe area.
- Export AVIF or WebP plus a JPEG/PNG fallback.
- Create mobile art direction when the focal point or crop changes.
- Add
srcset,sizesand explicit dimensions. - Keep the above-the-fold image eager; consider
fetchpriority="high". - Write concise alt text for informative images; use an empty alternative for decorative ones.
- Verify contrast, keyboard focus, crop safety and CTA visibility on real phones.
- Measure network performance on a slower mobile connection before launch.
Common problems and fixes
The subject is cut off on phones
Cause: A desktop composition is being cover-cropped into a narrow container. Fix: supply a mobile crop with <picture>, or change object-position only if the same artwork remains intelligible.
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →The hero causes a layout jump
Cause: missing intrinsic dimensions or a reserved ratio. Fix: add matching width/height attributes or an explicit aspect-ratio.
The first paint is slow
Cause: an oversized file, an uncompressed format or lazy-loading on the LCP image. Fix: generate width variants, serve AVIF/WebP, set accurate sizes, remove loading="lazy" above the fold and consider high fetch priority.
Text disappears into the photograph
Cause: contrast was checked only at one viewport. Fix: test each crop and add a gradient or content panel; keep the copy in HTML.
Alt text repeats the heading
Cause: the image description and visible copy were written independently. Fix: describe the image’s useful visual context, or use an empty alternative when it is purely decorative and the surrounding text already conveys the message.
Or skip the browser setup
If you need screenshots of your implemented hero at multiple viewport sizes, ScreenshotNeo provides a website screenshot API and MCP server. It accepts consent banners before capture and removes more than 60 known consent platforms, newsletter popups and chat widgets; each step can be disabled. Only clean shots are billed: bot checks, CAPTCHAs, blank pages, timeouts, failed loads and cache hits cost nothing, and response headers identify the page verdict and billing status.
Use the API documented at https://screenshotneo.com/docs/:
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
Python:
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)
Node.js:
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
ScreenshotNeo also supports full-page captures with lazy images loaded, CSS-selector element shots, dark mode, device presets and custom viewports, retina scale, PDFs, custom CSS and JavaScript, clicks, selector or network-idle waits, request blocking, cookies and headers, timezone and geolocation, transparent backgrounds, resizing, caching with a chosen TTL, signed links, asynchronous webhooks, bulk capture of up to 100 URLs per call, a usage API and an OpenAPI specification. Its MCP server offers take_screenshot, get_page_info and capture_pdf for Claude, Cursor and other MCP clients.
There is a free allowance of 1,000 screenshots per month with no card. Paid plans start at $5 for 3,000 shots; every feature is included on every plan. Create a free ScreenshotNeo account.
Free tools Windows power users keep installed
One-click scans. No signup required.
FAQ
Can a hero be a background image?
Yes, but an actual <img> is usually easier to make responsive, accessible and measurable as the LCP image. Use CSS backgrounds for decorative layers or when the design genuinely needs background behavior.
Best Value
- Colorful and Engaging Design: This classic children's book banner features bright illustrations and storybook themes that add fun and charm to any space
- Perfect for Any Occasion: Great for classrooms, birthday parties, reading corners, and fiesta party decorations—creates a cheerful and inviting atmosphere
- Inspires a Love of Reading: Ideal for teachers and parents who want to encourage imagination and promote reading through creative and fun classroom decor
- Easy to Hang and Display: This lightweight banner decoration is simple to hang on walls, bulletin boards, or doorways—perfect as part of your school supplies setup
- Versatile Use for All Spaces: Use it for reading events, learning themes, libraries, or at home—this banner brings joy and literary flair to any setting
Should every hero span the entire viewport height?
No. Full-width is common; full-height is a design choice. Preserve enough of the next section to signal that more content exists, especially on mobile.
How many CTAs belong in a hero?
One primary action is clearest. Add a secondary link only when it serves a distinct audience or decision and does not compete visually with the main CTA.
Frequently Asked Questions
Can a hero be a background image?
Yes, but an actual <img> is usually easier to make responsive, accessible and measurable as the LCP image. Use CSS backgrounds for decorative layers or when the design genuinely needs background behavior.
Should every hero span the entire viewport height?
No. Full-width is common; full-height is a design choice. Preserve enough of the next section to signal that more content exists, especially on mobile.
How many CTAs belong in a hero?
One primary action is clearest. Add a secondary link only when it serves a distinct audience or decision and does not compete visually with the main CTA.
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.

