Image and video problems: alt text, weight, format and size
Images carry meaning and weight. These checks look at alt text that is missing, generic, too long, a file name or repeated, broken and very heavy images, legacy formats, missing width and height, wrong lazy loading, missing srcset, images set only as CSS backgrounds, private file URLs, and videos without a poster, captions or a working thumbnail. Describe each image, size it, and compress it.
How the problem happens
Images are uploaded straight from a camera or design tool at full size. Alt text is skipped or filled with the file name, and a template adds lazy loading to the first image on the page.
Why image problems cost rankings, speed and image traffic
Images are usually the heaviest part of a page, so they decide much of the loading speed that search engines measure. A single oversized photo can push the main content element past the point where the page counts as fast, and an image without width and height makes the layout jump as it appears. Lazy-loading the very image that fills the top of the screen delays the largest paint on purpose. On mobile, serving the desktop size of a picture wastes data and time for every visitor.
Images are also content. A search engine does not see a picture the way a person does, so it relies on signals such as the alt text, the file context and the surrounding words to understand it. A missing, generic or file-name alt text removes the most direct description: the image can be harder to find in image search, blind visitors get no description of it, and an AI assistant has little to quote. A broken image, a picture that exists only as a CSS background, a link to a temporary signed address that expires, and a video without a poster, captions or a working thumbnail each remove a piece of the page from the places where people discover it.
How to check images by hand
Open the network panel, filter to images and reload. Sort by size and look at the biggest files: anything above a few hundred kilobytes needs a reason. Check the format of each, because JPEG and PNG are usually larger than WebP or AVIF for the same picture. Look for requests that return an error, which are broken images. Compare the dimensions in the file with the size shown on the page; a 3000 pixel wide file displayed at 400 is wasted weight.
Then read the markup. Check every meaningful image for an alt that describes it in a short sentence, and make sure it is not a file name like IMG_2034.jpg, not the single word photo, not a paragraph of keywords, and not identical for two different pictures. Check that images carry width and height attributes, that the main image at the top is not lazy-loaded, and that images far down the page are. Look for a srcset on large images, for pictures used only through a CSS background-image, and for URLs that look like signed storage links or a test server. For video, check for a poster, a captions track and a thumbnail in the structured data.
Copy-ready examples
The examples below show the markup, commands and settings that the checks in this family look for. Replace example.com and the sample values with your own, and test the result on a copy of the page before you publish it.
<!-- Hero image: no lazy loading, dimensions set, responsive sizes -->
<img src="/img/hero-800.avif" width="1200" height="630"
srcset="/img/hero-400.avif 400w, /img/hero-800.avif 800w, /img/hero-1200.avif 1200w"
sizes="(max-width: 700px) 100vw, 1200px"
alt="Technician checking a heat pump outdoor unit" fetchpriority="high">
<!-- Below the fold: lazy -->
<img src="/img/team.webp" width="600" height="400" loading="lazy"
alt="The service team in front of the workshop">
<!-- Format fallback -->
<picture>
<source type="image/avif" srcset="/img/p.avif">
<source type="image/webp" srcset="/img/p.webp">
<img src="/img/p.jpg" width="600" height="400" alt="Product on a white table">
</picture>
<!-- Video -->
<video controls poster="/img/intro-poster.jpg" width="1280" height="720">
<source src="/video/intro.mp4" type="video/mp4">
<track kind="captions" src="/video/intro.en.vtt" srclang="en" label="English">
</video>How to fix images in code, build and CMS
Compress and convert at build time or on upload. Serve WebP or AVIF with a JPEG fallback through <picture>, aim to keep a content image well under 300 KB, and generate several widths with srcset and sizes so that a phone downloads a phone-sized file. Always write width and height so the browser reserves the space and the layout does not shift. Lazy-load images below the fold with loading="lazy", but never the main image at the top; give that one fetchpriority="high" instead.
Write the alt text for people: say what the picture shows and why it is on the page, in plain words and usually under 125 characters, and leave the alt empty for purely decorative images so screen readers skip them. Use a real <img> for content and keep CSS backgrounds for decoration. Host images at a permanent public address of your own domain or a CDN, never at a signed link that expires. Add a poster to videos, provide a captions track and keep the thumbnail in the video markup working and reachable. When the video is the main content of the page, add the social video tag as well, so it can play directly in a share. In a CMS, set the upload pipeline to resize and convert automatically, and make the alt field required in the editor.
How RankDossier detects image problems
RankDossier reads every image and video on the rendered page. The checks in this family report images without alt text, alt text that is a file name, generic, too long or repeated for different images, broken images, heavy files, legacy formats, images without width and height, lazy loading on an above-the-fold image, many images without lazy loading, large images without srcset, images present only as CSS backgrounds and image links that look private or temporary.
For video they report a missing poster, missing captions, a broken thumbnail address in structured data and a video page without the social video tag. To test the loading side of a single page, use the Website speed test. The Core Web Vitals guide explains how image weight and layout shift feed the speed metrics, the technical SEO audit guide places images among the other signals, and the online store SEO audit guide covers product images, where these problems are most common.
Wrong and right
Wrong
<img src="/IMG_0042.jpg">
<img src="/photo.png" alt="IMG_0042.jpg">
<img src="/banner.jpg" alt="image">
Right
<img src="/team-meeting.webp" width="800" height="450" alt="Team reviewing an audit report on a wall screen" loading="lazy" srcset="/team-meeting-400.webp 400w, /team-meeting.webp 800w" sizes="(max-width: 800px) 100vw, 800px">
How to fix it
WordPress
Compress images on upload, enter a real description in the alt field, serve a modern format, and keep the first visible image out of lazy loading.
Next.js
Use the Image component with width, height and alt, let it create several sizes, and set priority for the main image instead of lazy loading.
import Image from 'next/image';
<Image src="/team-meeting.webp" width={800} height={450} alt="Team reviewing an audit report" />
Nginx
Cache image files for a long time and serve compressed formats where the browser supports them, and request a heavy image to see its size in the response headers.
location ~* \.(jpg|jpeg|png|webp|avif|svg)$ {
expires 1y;
add_header Cache-Control "public";
}
Check codes in this family
These checks belong to this family. Each code appears in the audit report with its own explanation and fix.
ALT_MISSINGImages without altALT_FILENAMEalt is a file nameALT_GENERICGeneric alt textALT_TOO_LONGalt is too longALT_DUPLICATESame alt for different imagesIMG_BROKENBroken imagesIMG_TOO_HEAVYHeavy imagesIMG_LEGACY_FORMATImages in legacy formatsIMG_NO_DIMENSIONSImages without width and heightIMG_LAZY_ABOVE_FOLDloading="lazy"on an above-the-fold imageIMG_NO_LAZYMany images without lazy loadingIMG_NO_SRCSETLarge images without srcsetIMG_CSS_BACKGROUNDImages only as CSS backgroundsIMG_PRIVATE_URLPrivate or temporary file URLsVIDEO_NO_POSTERVideo without posterVIDEO_NO_CAPTIONSVideo without captionsVIDEO_THUMB_BROKENVideo thumbnailUrl is brokenVIDEO_NO_OGVideo page without og:video
Related check families
Read the full guide PageSpeed Insights score and Core Web Vitals: LCP, INP and CLS for the wider picture. Test one page for free with the Website speed test.
Check your own site
Enter a domain – the free pre-check reads up to 10 pages and shows how many types of problems it finds. You pay only if you want the full report.
Start the free pre-check