Epic Creative
LibraryInsightsAbout
Search/
© 2026 Epic Creative
AboutLibraryInsights
Digital & SEO

Optimizing Images for SEO with Alt Text

Learn how to optimise images for SEO with useful alt text, descriptive filenames, efficient image delivery, sensible lazy loading and relevant surrounding page content.

19 Aug 20268 min read1,738 words
In this guide
  1. Choose the image according to its purpose
  2. Write alternative text for people, not keyword counters
  3. Choose descriptive filenames without overengineering
  4. Use the right format and dimensions
  5. Handle lazy loading thoughtfully
  6. Give important images meaningful context
  7. Make image rights part of the publication workflow
  8. Keep images available to visitors and crawlers
  9. Check mobile layout and interaction
  10. Differentiate image SEO from structured-data promises
  11. Measure what was improved
  12. A repeatable small-site image checklist
  13. What should an editor do with an informative image versus a decorative image?
  14. Frequently asked questions

Image SEO is about making useful visuals accessible, understandable and deliverable in the context of a real webpage. A product photograph, diagram and decorative banner have different jobs. Their filenames, alternative text, captions and dimensions should reflect those jobs instead of repeating the same search phrase. For small websites, image work often reveals broader publishing defects: an asset points to a missing file, a responsive version is too heavy, a chart lacks a textual explanation or a CMS exposes an illustration without permission to reuse it. A practical audit begins with the reader and the actual page, not a promise that renaming every image will produce higher Google rankings.

Simple diagram of connected web documents used as an example of an informational illustration
Illustrative hyperlink diagram by L1ucas, adapted from Andreariverac, Wikimedia Commons original, CC BY-SA 3.0. Used as a sample of descriptive alternative text, not evidence of a particular search result.

Choose the image according to its purpose

Before selecting a file, identify the task it helps the visitor complete. A product image should show relevant features and the correct variant. A process diagram should clarify a sequence or relationship. A location photograph may show a genuine facility only if its origin is known and its caption accurately identifies the place. Generic workplace imagery may help establish atmosphere but should never be represented as proof of a business's team or achievements.

Not every paragraph requires a photograph. Adding unrelated stock imagery can increase page weight without explaining anything. Ask whether the page would lose important meaning if the image were removed. If not, consider whether it is purely decorative. Editorial teams should prioritise a few useful, rights-cleared visuals over an arbitrary image count and should document who approved each asset.

Write alternative text for people, not keyword counters

Alternative text provides a text alternative to meaningful images for users who cannot perceive them visually. Good alt text depends on the image's function and surrounding copy. A screenshot showing where a menu option appears may need a concise description of the control and its context. A chart conveying a pattern needs a textual account of the key finding nearby, because alt text alone may not carry a complex dataset. An image that serves only as decoration may appropriately use an empty alternative attribute, depending on its implementation.

Avoid strings such as 'best cheap SEO services SEO marketing image' when the picture actually shows a diagram. Those words do not help a visitor understand it. Likewise, do not fill alt text with generic 'image of' language unless identifying the medium is essential. The W3C WAI Images Tutorial explains that function, information and decorative role determine the appropriate treatment. Review text in context, not as isolated image metadata.

Choose descriptive filenames without overengineering

Filenames can help identify the asset and its subject, especially when multiple images depict different products or steps. A simple descriptive name such as checkout-error-message.png is more useful to maintainers than IMG_00014.png. However, changing a filename solely to repeat search queries is not a substitute for quality. Renaming a live file can break references in older pages or external embeds if the old path disappears.

Audit the current URL before any migration. If renaming is necessary, update dependent pages and maintain appropriate redirects where supported. Confirm that image references in structured data, CSS and sharing previews still resolve. A broken image on a product page may be a higher-priority problem than optimising the naming convention of an already clear file.

Use the right format and dimensions

Image format is a practical performance decision. Photography, flat illustrations, transparency and vector diagrams have different needs. Modern formats may reduce transfer size, while SVG can preserve sharpness for suitable diagrams. Choose options that browsers and the publishing system can deliver reliably. Do not upload a very large original merely because the web layout shows it in a narrow box.

Use responsive image delivery when a page genuinely needs different source sizes. The srcset and sizes attributes can help a browser choose an appropriate file, but they must refer to real assets. Test what the browser selects at representative widths. A badly configured responsive image can transfer a large file even to a small handset or display an unexpectedly blurry thumbnail.

Handle lazy loading thoughtfully

Lazy loading can defer images below the initial viewport until they approach visibility. It can improve initial loading when used appropriately, but blanket application may delay a prominent image. If the largest important visible element is a hero or product image, delaying it can harm the experience. Reserve space for images so deferred loading does not push text and controls around the page. Consider priority hints only when they fit the measured problem and the browser's support.

Performance choices should be tested on representative real pages. A laboratory score may suggest where to investigate, but it does not prove whether a customer can see a key product image or finish checkout. Review the visible content, layout stability and the actual transfer behaviour. Distinguish a slow request from an unavailable source and do not blame website downtime on a single blocked inspection tool.

Give important images meaningful context

Text around an image helps readers understand what it represents. A caption can identify a diagram's key point, source and any significant limitation. A product image can be associated with the correct product title and specifications. Search engines can also use page content and image context to understand visual material, but they cannot verify an inaccurate claim simply because it is in a caption.

Use figures and captions where they improve clarity rather than wrapping every decorative asset in unnecessary markup. For complex diagrams, supply a longer explanation in the article body and link to relevant underlying information where appropriate. A reader who cannot see the image should still be able to follow the essential argument.

Make image rights part of the publication workflow

A photograph appearing in an image search is not automatically free to reuse. Check the original host or rights holder, creator, licence, attribution conditions and any restrictions on modification. For Wikimedia Commons images, inspect the actual file page rather than copying an attribution from a third-party blog. A licence on a page may have version and share-alike requirements; record those details accurately.

Do not assume that a screenshot containing another company's product is covered by an uploader's broad licence without inspecting its provenance. Remove personal information, confidential application data and identifiers before using workplace captures. Credit the creator in a visible caption or another appropriate location according to the licence. When the source is unclear, select a genuinely licensed alternative instead of pretending that a link proves permission.

Keep images available to visitors and crawlers

An image URL needs to return the expected resource in the public environment. Inspect the final page, the selected asset URL and any relevant response errors. Some CDNs issue expiring links, hotlink restrictions or content transformations that work in an editor preview but fail publicly. File names with spaces or special characters need correct URL handling. Do not infer success from the mere presence of an img tag in stored HTML.

Image discovery also depends on practical site structure. Pages should make useful visuals reachable without requiring inaccessible interactions. A sitemap can help reveal image URLs in appropriate setups, but it is not a replacement for functioning pages. Google's Image SEO guidance covers descriptive text and technical considerations; follow the requirements that apply to the actual site rather than adding every possible tag.

Check mobile layout and interaction

A fixed-width image wider than a phone can make the entire page scroll sideways. Use layouts that fit the available screen and preserve aspect ratio. Check that captions wrap, comparison tables have contained overflow and the page can be navigated with a keyboard. A tap-to-enlarge image should have a labelled, operable control if it conveys important information. Avoid interactive galleries that trap focus.

Test 320, 375 and 768 pixel layouts as distinct evidence points rather than assuming a responsive stylesheet guarantees success. Use text zoom to reveal clipping and check lazy-loaded assets when scrolling. A decorative hero may be cropped for layout, but it should not remove the only visible explanation of a service. If a responsive version hides the image altogether, ensure the essential information remains in text.

Differentiate image SEO from structured-data promises

Product, recipe or other supported structured data may refer to images when appropriate. Those references must point to real relevant files and satisfy the applicable feature requirements. Adding structured data cannot make a misleading picture truthful or guarantee a rich result. For a general article illustration, do not invent product reviews, prices or other structured properties merely to create more markup.

Review the actual published output after changing image templates. A CMS may write one image field for the article body and another for the social preview. Verify both roles independently. A correct inline image does not prove that the Open Graph image is valid, and an attractive social preview does not establish that the article itself is readable.

Measure what was improved

Useful checks include successful image loading, transferred bytes on representative pages, visual sharpness, reserved dimensions, readable alt text and valid image attribution. Search Console may offer image-search performance information for an authorised property, but an increase in impressions does not by itself prove that one filename edit caused the change. Record the relevant dates, URLs and wider site changes.

Give priorities to broken or misleading product images, inaccessible instructional diagrams and resources that seriously delay important pages. Less consequential cosmetic naming changes can wait. Keep a record of which files were changed, who approved rights and what public pages were tested after deployment.

A repeatable small-site image checklist

For each important page, identify the visual's job, confirm its source, write context-appropriate alternative text, choose suitable dimensions and format, and inspect mobile delivery. Check whether lazy loading is appropriate for the image's position. Confirm the final public image request and its caption, then verify that the surrounding page still explains the subject without depending entirely on sight.

Review a selection of older pages after making shared image template changes, because a new layout may affect assets that nobody edited directly. Document whether the test examined stored metadata or the live public response. An image optimisation is complete only when the user can actually access and understand the intended result.

Source A: Google Search Central, image SEO best practices. Source B: W3C WAI Images Tutorial. These sources guide implementation and accessibility; neither certifies a particular image or site without direct checks.

What should an editor do with an informative image versus a decorative image?

The correct treatment depends on whether the visual contributes information. Search optimisation must not override accessible alternatives or image rights.

Five choices that differ between informative and decorative images
CriterionInformative imageDecorative image
PurposeConveys product detail, procedure or meaningful relationshipSupports visual atmosphere without adding substantive information
Alt attributeConcise description of meaning or function in contextUsually empty alt when genuinely redundant to nearby content
Adjacent copyInclude explanation for complex charts or technical diagramsDo not invent a factual caption implying a real event
Delivery priorityEnsure essential visible details load and remain legibleOptimise or omit when it adds weight without reader value
Publication QACheck source rights, accurate content, live file and mobile viewCheck rights, empty alternative, loading and layout impact

Source A: W3C Web Accessibility Initiative, Images Tutorial (international accessibility reference, checked 31 October 2026) describes informative, functional and decorative image alternatives. Source B: Google Search Central, Image SEO best practices (search and image discovery reference, checked 31 October 2026) explains filenames, context and image accessibility to crawlers. The sources have different purposes and make no quantitative claim about ranking gains. Decision: write an appropriate alternative for meaningful visuals, keep truly decorative images out of the spoken narrative, and independently verify public delivery and rights before final sign-off.

Frequently asked questions

Does alt text need the focus keyword?

Only when it naturally describes the image's actual information or function. Repeating an unrelated keyword makes the text less useful and may misrepresent the picture.

Should every decorative image have descriptive alt text?

No. An appropriate empty alternative may be correct for purely decorative images; determine the image's role using accessibility guidance.

Will changing image filenames guarantee more image search traffic?

No. Descriptive, stable filenames can support understanding and maintenance, but visibility depends on many factors. Renaming existing assets can also break links.

Are all Wikimedia Commons images free of attribution obligations?

No. Licences differ. Check the original file page, creator, licence version, share-alike or modification requirements and supply the necessary credit.

How can I confirm an image optimisation worked?

Inspect the live page and actual image request, test relevant responsive widths, check alternatives and attribution, and compare meaningful performance observations without claiming guaranteed ranking gains.

PreviousHow to Optimise a Contact Page for SEONextOptimising Your Website Footer for SEO

More from Digital & SEO

View all →
3 min read

How to Prioritise SEO Content Refreshes for Small Business Sites

8 min read

How Small SEO Agencies Can Triage Technical Audit Findings

8 min read

A Practical Keyword Mapping Review for Small SEO Agencies

7 min read

A Practical Local SEO Client Intake Process for Small Agencies