/romeo-seo:image-seofrom romeo-seo
Audits and fixes images for search, speed, and accessibility: alt text, filenames, WebP/AVIF, srcset, lazy loading, LCP, image sitemaps, og:image, and license metadata.
Ships in romeo-seo. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Review every image on a page or template for the three jobs images do in search: being understood (alt text, context, filenames), being found (indexable markup, sitemaps, social previews) and not slowing the page down (format, size, loading). You hand back per-image fixes with priorities and an alt-text batch the user can paste straight into their CMS.
Romeo's rule: Every image is content, decoration or a button; write its alt text for the job it does, not for the keyword you wish it ranked for.
technical-seo-audit.ecommerce-seo-audit.schema-markup.on-page-seo-review.<Image>, an image CDN (Cloudflare, Cloudinary, imgix) and its settings.Open the page in Chrome, then DevTools → Network → filter "Img" to see each image's format, transferred size and dimensions. In the Console, this one line lists every <img> with what you need: console.table([...document.images].map(i=>({src:i.currentSrc,alt:i.getAttribute('alt'),natural:i.naturalWidth+'x'+i.naturalHeight,shown:i.clientWidth+'x'+i.clientHeight,loading:i.loading,priority:i.fetchPriority,w:i.getAttribute('width'),h:i.getAttribute('height')}))). PageSpeed Insights names the LCP element for free. Facebook's Sharing Debugger and LinkedIn's Post Inspector show the social preview. If you can only see view-source, review the <img> tags and og: meta tags and mark everything else "not checked".
alt="" (empty, not missing; with no alt at all, many screen readers read out the filename). Linked or button image: describe the destination or action ("Download the 2026 price list"), not the picture. Image of text: the alt contains the text. Chart: a short alt plus the numbers in nearby text or a table.<img src> (including inside <picture>), not CSS backgrounds. Anything that should appear in image search, or that is the page's main image, goes in <img>. CSS backgrounds are fine for decoration.fetchpriority="high", a plain src in the HTML, and no carousel or JavaScript between it and the browser.<img> gets width and height attributes (or a CSS aspect-ratio) so the browser reserves space. Image-driven layout shift is the cheapest CLS fix there is.Inventory. For every image on the page or template, record: file URL, format, transferred bytes, natural size, displayed size at a 390 px phone width and a 1366 px desktop width, alt, loading, fetchpriority, width / height, whether it's inside a link, whether it's <img> or a CSS background, its caption, and its job (content, decorative, functional, text, chart).
Find the LCP image. Use PageSpeed Insights (mobile) "Largest Contentful Paint element", or the Performance panel.
loading="lazy", has fetchpriority="high", is in the initial HTML (not data-src swapped in by script, not a CSS background), served at the right size for mobile.<link rel="preload" as="image" fetchpriority="high"> (with imagesrcset / imagesizes for responsive images) or move it into an <img>.loading="lazy" on the LCP image = Fix now when field LCP is over 2.5 s, otherwise Fix next. Lazy loading on other images likely in the first mobile viewport = Fix next.Alt text. Classify each image and check it.
alt on content images = Fix next (accessibility and missed context). Filename or camera alt ("IMG_2034", "image", "photo") = Fix next.Fix next.Worth doing: set alt="".Fix next.Filenames. Descriptive, lowercase, hyphenated: IMG_2034.jpg → grey-cat-asleep-on-laptop.jpg. Localise for localised pages. Set the rule for future uploads (Worth doing); leave old filenames alone (Leave it) unless the image earns no traffic and is being replaced anyway.
Format and compression. Google Search supports BMP, GIF, JPEG, PNG, WebP, SVG and AVIF.
<picture> or CDN content negotiation (Accept header, with Vary: Accept). Current major browsers support both; keep the fallback for older devices, email and some crawlers.<title> when inline and meaningful).<video autoplay muted loop playsinline>.Fix next; over 1 MB = Fix now. Start around quality 50 to 60 for AVIF, 75 to 80 for WebP and JPEG, then check by eye.Dimensions and responsive images. Natural width should be no more than about 2× the largest displayed width.
srcset with width descriptors (for example 480w, 800w, 1200w, 1600w) and a sizes value that matches the layout. A common bug: sizes="100vw" on an image shown at a third of the screen makes phones and desktops download roughly 3× the bytes they need.<picture>
<source type="image/avif" srcset="/img/audit-report-800.avif 800w, /img/audit-report-1600.avif 1600w" sizes="(min-width: 960px) 720px, 100vw">
<source type="image/webp" srcset="/img/audit-report-800.webp 800w, /img/audit-report-1600.webp 1600w" sizes="(min-width: 960px) 720px, 100vw">
<img src="/img/audit-report-800.jpg" srcset="/img/audit-report-800.jpg 800w, /img/audit-report-1600.jpg 1600w" sizes="(min-width: 960px) 720px, 100vw" width="1600" height="900" alt="SEO audit report listing three crawl errors, each marked Fix now" loading="lazy" decoding="async">
</picture>
loading="lazy" and with fetchpriority="high" on the <img>.Layout shift. Every <img> has width and height matching its aspect ratio, with CSS max-width: 100%; height: auto;. Missing dimensions on above-the-fold images = Fix next; elsewhere Worth doing. Check field CLS ≤ 0.1 at the 75th percentile.
Lazy loading and discovery. Native loading="lazy" for images below the fold. Script-based lazy loaders that leave a placeholder in src and the real URL in data-src are a discovery risk: check URL Inspection's crawled HTML shows the real image URLs. If not, switch to native lazy loading = Fix next.
Indexability. Image URLs return 200, aren't blocked in robots.txt (check the CDN host's own robots.txt too), carry no X-Robots-Tag: noindex and don't need cookies. A page-level noimageindex keeps its images out. Verify a separate image CDN host in Search Console to see its crawl errors. WordPress attachment pages (one thin page per image) should redirect to the file or parent post; WordPress 6.4+ turns them off on new installs, but older sites and some plugins still expose them.
Context. Put images next to the text they illustrate, under a relevant heading. Captions help readers where an image needs explaining; don't add them only for SEO. The page title, heading and surrounding text all feed how Google understands the image.
Image sitemap (only where it helps). Useful when images load via JavaScript, live on a CDN host, or image search matters to the business (photography, recipes, products, property). Only <image:image> and <image:loc> are supported; caption, title, geo_location and licence tags were deprecated in 2022. Up to 1,000 images per <url>. A typical blog with images in plain HTML doesn't need one (Leave it).
Preferred image and social previews.
og:image: absolute URL, at least 1200 px wide, 1.91:1 (1200×630 is the safe default), JPEG or PNG for the widest platform support, plus og:image:alt. Add twitter:card = summary_large_image. Missing or the logo on key pages = Fix next.<meta name="robots" content="max-image-preview:large">. Google Discover wants images at least 1200 px wide, over 300,000 pixels, ideally 16:9, and not a logo or text-heavy graphic.og:image, schema.org primaryImageOfPage, or the image of the page's main entity. Pick a representative image; avoid logos, text-heavy images and extreme aspect ratios.CDN and caching. Fingerprinted image URLs served with Cache-Control: public, max-age=31536000, immutable. One canonical URL per image and size, with no session or tracking parameters. Check the CDN's automatic format conversion actually serves AVIF or WebP (look at the response content-type, not the file extension).
Licensing metadata (when credit or licensing matters). Embed IPTC fields once per file: Creator, Credit Line, Copyright Notice, Web Statement of Rights (required for the "Licensable" badge in Google Images) and Licensor URL. Or use ImageObject structured data on each page: contentUrl plus license, acquireLicensePage, creditText, creator, copyrightNotice. If both exist and disagree, Google uses the structured data. Many CMSs and CDNs strip metadata when compressing; check a served file still carries it. For AI-generated images, the IPTC Digital Source Type value trainedAlgorithmicMedia declares it.
Product images (shops). Several images per product: a clean main shot on a plain background with no watermark, promotional text or borders (Merchant Center rejects those for the main image; check its current image requirements), then angles, scale, detail and in-use shots. High resolution so zoom works. Each variant (colour, finish) gets its own images and alt text naming the variant. The same main image in the Product image property, the page and the feed. Category thumbnails are real <img> elements with alt text naming the product.
Per-image fixes first, then the alt-text batch.
# Image review: <page or template> (<date>)
**What I found:** <one plain-English sentence>
**What matters most:** <one sentence>
**What to do first:** <one sentence>
## Page-level findings
- LCP element: <image file or "text"> · lazy-loaded: yes / no · fetchpriority: <value> · field LCP: <value or "not checked">
- Total image bytes on mobile: <KB> across <n> images · largest: <file, KB>
- og:image: <URL, size> or "missing" · max-image-preview: <value>
## Fixes (priority order)
### 1. <file name> · `Fix now`
- Problem: <plain English, then the term in brackets>
- Evidence: <bytes, dimensions, attribute seen> · seen / tool / inferred · confidence: high / medium / low
- Fix: <exact change, e.g. remove loading="lazy", add fetchpriority="high", export at 1200 px AVIF q55>
- Markup: <before → after snippet when the HTML changes>
## Alt-text batch (paste into the CMS)
- <file URL> | content | "<current alt or MISSING>" → "<new alt>"
- <file URL> | decorative | "<current alt>" → "" (empty)
- <file URL> | link to <destination> | "<current alt>" → "<action or destination>"
## Leave it
- <thing>: <why it isn't worth changing>
## What I could not check
- <item>: <what would verify it>
technical-seo-audit with the PageSpeed Insights report and the LCP breakdown.ecommerce-seo-audit, passing the product image standard you set here.on-page-seo-review on the same URL and target query.Part of the free RomeoSEO skill library: https://romeoseo.com/skills
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub romeoseo/seo-skills --plugin romeo-seo51 skills in this plugin
/ai-agent-readinessMake a site readable and usable by AI crawlers and browsing agents. Use for "should we block GPTBot", "set up robots.txt for AI bots", "do we need llms.txt", "is Cloudflare blocking ChatGPT" or "can AI agents use our pricing and signup". Covers per-bot robots rules, firewall blocks, llms.txt, Markdown pages and the accessibility tree./ai-brand-factsFind what ChatGPT, Gemini, Perplexity, Copilot, Claude and Google AI Overviews get wrong about your business, trace each claim to its source and fix it there. Use for "ChatGPT has our pricing wrong", "AI confuses us with another company", a brand fact sheet or an AEO / LLM SEO / GEO entity check./ai-citable-pagesRestructure one page passage by passage so ChatGPT, Perplexity, Copilot, Claude and Google AI Overviews can lift accurate, self-contained answers that name your brand. Use for "make this page citable", "AI quotes competitors, not us", "rewrite this page for AI answers" or AEO / LLM SEO / GEO page edits.2 plugins ship this exact skill · first indexed Nov 11, 2026
Other plugins' skills for the same job