Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The reliable process is: open the page or template that controls your homepage, insert an image element, upload an image you are allowed to use (or select one already stored in the site’s media library), add appropriate alternative text, check the layout at desktop and mobile widths, then save and verify the live page. The exact labels differ between WordPress, hosted builders and custom sites, so first identify whether your homepage is a regular page, a static-page setting or a theme template.

Choose the right way to add the image

Your image source affects control and reliability. Use the option that matches who owns the file and how permanently it must remain available.

Method Best for Control and risk
Upload from your device A new photo, illustration or exported graphic The site stores a copy. You still need permission to use the image and must stay within the host’s upload limit.
Select from the Media Library An image already uploaded to the site Fastest and usually easiest to manage; you can reuse the stored file on other pages.
Insert from URL A file that you deliberately keep on another service The homepage depends on that external file. It can disappear if the owner moves it, deletes it or stops sharing it.

Uploading a permitted copy to your own Media Library avoids the ongoing dependency created by an external URL. Never assume that an image found online is free to reuse.

WordPress block editor: the current workflow

These labels apply to WordPress’s block editor. A theme, managed host or custom site editor may place the controls elsewhere.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
HTML and CSS: Design and Build Websites
  • HTML CSS Design and Build Web Sites
  • Comes with secure packaging
  • It can be a gift option
  1. Open the correct editing surface. In the dashboard, open the page editor for the page assigned as the homepage. If the front page is assembled by the Site Editor or a theme template, open that template or template part instead of editing an unrelated page.
  2. Add an Image block. Select the block inserter, search for Image, and insert it. WordPress also supports the /image shortcut in a new block.
  3. Choose the file. Select Upload for a file on your device, Media Library for an existing upload, or Insert from URL for an externally hosted file. Use the URL option only when you have permission and accept that the original may later become unavailable.
  4. Write alternative text. In the block settings, describe the information the image conveys in the context of this page. If it is purely decorative and adds no information or function, use the editor’s decorative setting (which produces an empty alternative, alt="", for assistive technology).
  5. Set presentation. Choose alignment, a suitable image resolution, and an optional caption. Check crop or aspect-ratio controls if the theme offers them. Avoid enlarging a small source until it looks soft.
  6. Save and verify. Select Save or Publish according to the site’s workflow, open the live homepage in a private window, and check the image at common desktop and phone widths.

Alternative text entered on the block applies to that page. A value saved with the Media Library attachment becomes the default when the image is inserted elsewhere, so review the wording whenever the context changes.

WordPress Classic Editor

Sites using the Classic Editor do not have an Image block. Use this route instead:

  1. Open the homepage page for editing and place the cursor where the image belongs.
  2. Select Add Media.
  3. Upload a file or select one from the existing Media Library.
  4. Complete the attachment details, including alternative text where appropriate.
  5. Choose display settings such as alignment, link behavior and size, then select Insert into page.
  6. Update or publish the page and inspect the live homepage.

If the homepage is generated by a template, the Classic Editor may not control the visible area. Edit the relevant template or ask the site administrator which component supplies the front page.

If you use another website builder

Look for an element named Image, Media, Picture or Hero in the page builder, then identify whether the homepage is a page or a global template. The sequence is generally: open the homepage design, add or select the image element, upload or choose a stored asset, fill in its alternative-text field, set sizing and focal-point options, save the draft, preview responsive widths, and publish.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Do not follow WordPress menu names literally on another platform. A builder may store the homepage under a navigation setting, a global header, a landing-page collection or a theme editor. If you cannot find a normal page, inspect the site’s homepage or template settings before changing content.

Adding an image directly in HTML

For a hand-coded homepage, place an image element in the page’s body where it should appear. Use a path to a file served by your site, provide an appropriate alt value, and constrain the image so it does not overflow a narrow viewport.

<figure class="home-hero">
  <img src="/images/home-hero.webp"
       alt="A cyclist riding beside the lake at sunrise"
       width="1600" height="900">
  <figcaption>Explore the lakeside trail.</figcaption>
</figure>

For a decorative banner, keep the required attribute but leave its value empty: alt="". Do not use an empty value for an image that communicates information or acts as a link. Your server must return the file at the exact path, including capitalization on systems where paths are case-sensitive.

Alternative text, links and captions

  • Describe purpose, not pixels. If the image shows a product, identify the product and the useful state or action. If it is a link, describe the destination or function.
  • Do not duplicate nearby text. When the heading already conveys the same information, a concise description—or a decorative setting—may be more helpful.
  • Keep captions separate from alt text. A caption is visible to everyone; alternative text is the text alternative used when the image cannot be seen.
  • Check context. The same photograph may need different alternative text on a sales page, an about page and a news article.

WordPress’s accessibility guidance requires an alt attribute and distinguishes informative images from decorative ones. Treat accessibility as part of publishing, not as a field to fill with a filename.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Size, quality and responsive delivery

Start with an image large enough for the largest intended display, but do not upload an unnecessarily huge original. Export in a format your site supports, compare visual quality at the actual display size, and avoid repeatedly re-saving a compressed JPEG.

WordPress has supported responsive images natively since WordPress 4.4. When it generates image markup, it can create multiple sizes and add srcset and sizes so the browser can select an alternative suited to the display conditions. Themes can customize this behavior, and existing srcset or sizes already present in content HTML are not modified. This is WordPress-specific behavior, not a guarantee for every CMS.

After publishing, inspect the image at the theme’s common breakpoints. A desktop hero may be cropped on a phone, while a portrait image may leave unexpected space in a wide layout. Use the theme’s focal-point or crop controls where available rather than editing the source repeatedly.

Verify the finished homepage

  • Open the public URL, not only the editor preview.
  • Test a normal browser window and a private window to catch permissions or cache surprises.
  • Check the image at a wide desktop width and at a narrow phone width.
  • Confirm that the alternative text is appropriate and that decorative artwork is skipped by assistive technology.
  • Click the image if it is meant to link somewhere, and verify the destination.
  • Look for a broken-image icon, unexpected cropping, horizontal scrolling or text that becomes unreadable over the image.

Troubleshooting

The upload is rejected

Check the maximum upload size shown by WordPress’s Media Add New screen. The hosting provider controls that limit, and permissions can also prevent uploads in a self-managed installation. If you cannot change the limit or upload directory permissions, contact the site administrator or host. Resizing the image may solve a size limit, but it will not solve a permission failure.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

An image inserted by URL later disappeared

The external file may have moved, been deleted or stopped being shared. If you have permission, save a copy in your own Media Library and replace the external reference. Do not mirror an image when its license does not allow you to do so.

Rank #4
Sale
Web Design with HTML, CSS, JavaScript and jQuery Set
  • Brand: Wiley
  • Set of 2 Volumes
  • A handy two-book set that uniquely combines related technologies Highly visual format and accessible language makes these books highly effective learning tools Perfect for beginning web designers and front-end developers

The image is cropped or blurry

Review the block’s resolution, crop and alignment controls, then inspect the theme’s homepage layout. A small source enlarged into a large hero will remain blurry; a theme’s fixed aspect ratio can also crop the subject. Choose a larger permitted source or change the crop/focal point.

The image appears on the wrong page

Confirm whether the homepage is a regular page, a static page selected in settings, or a template/site-editor composition. Editing a page that is not assigned as the front page will not change the visible homepage.

The image works in the editor but not on the live site

Publish the correct revision, clear any site or browser cache according to your platform’s normal procedure, and test the public URL in a private window. For hand-coded sites, verify the deployed file path, filename capitalization and server response.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

If what you need is a clean image of an existing homepage for documentation, review, a social card or an automated workflow, ScreenshotNeo can capture the URL with one request. It accepts consent banners before capture and removes more than 60 known consent platforms, newsletter popups and chat widgets. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads and cache hits are not billed; the response identifies the result with X-Page-Verdict and X-Billed headers. Its MCP server provides take_screenshot, get_page_info and capture_pdf tools for Claude, Cursor and other MCP clients.

See the ScreenshotNeo documentation for authentication and options. A basic cURL request is:

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}`);

You can use the same endpoint for full-page captures, a CSS-selected element, dark mode, device or custom viewports, retina scale, PDF output, custom CSS and JavaScript, clicks, waits, blocked resources, headers, cookies, timezone, geolocation, transparent backgrounds, resizing, chosen cache TTLs, signed image links, asynchronous webhooks and bulk capture of up to 100 URLs per call. Every response states whether it was billed.

There are 1,000 free screenshots each month with no card. Paid plans start at $5 for 3,000 screenshots, and every feature is included on every plan. Create a free ScreenshotNeo account when you are ready.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What to remember

Use the editor or template that actually controls the homepage, prefer an uploaded copy you are licensed to use, write alternative text based on purpose, and verify the published result at multiple widths. If the task is capturing an existing homepage rather than placing an asset into it, ScreenshotNeo provides the one-call alternative above.

Frequently Asked Questions

Can one homepage image be reused in several places?

Yes. In WordPress, select the existing file from the Media Library instead of uploading duplicate copies. Review the alternative text each time because the surrounding context may differ.

Why does the homepage show a different crop on phones?

Responsive layouts may use a fixed aspect ratio, a focal-point setting or a different generated image size at narrow widths. Check the image block or template’s crop and focal-point controls, then preview the phone layout before publishing.

Should I replace an image URL with a local upload?

Use a local upload when you control the image and need dependable long-term display. An external URL remains dependent on another server and can stop working if that file is moved, deleted or no longer shared.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

SaleBestseller No. 1
HTML and CSS: Design and Build Websites
HTML and CSS: Design and Build Websites
HTML CSS Design and Build Web Sites; Comes with secure packaging; It can be a gift option
$14.60
SaleBestseller No. 3
SaleBestseller No. 4
Web Design with HTML, CSS, JavaScript and jQuery Set
Web Design with HTML, CSS, JavaScript and jQuery Set
Brand: Wiley; Set of 2 Volumes
$35.05

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.