seo-images

Audits and optimizes website images for SEO, performance, and Google Images visibility.

4|Updated Aug 22, 2025
One-click install
npx skills add https://github.com/justin06lee/justin06lee.dev --skill seo-images-justin06lee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: seo-images
Source: https://github.com/justin06lee/justin06lee.dev/tree/main/.gemini/skills/valhalla/skills/seo-images
Command: npx skills add https://github.com/justin06lee/justin06lee.dev --skill seo-images-justin06lee

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Images often hurt SEO and page speed through missing alt text, oversized files, outdated formats, and layout shifts, and diagnosing these issues manually across a site is slow and error-prone. ## Core Features & Use Cases - Image SEO Audit: Checks alt text quality, file sizes against tiered thresholds, formats (WebP/AVIF), responsive srcset, lazy loading methods, fetchpriority, and CLS-causing missing dimensions. - Image SERP Analysis: Cross-references on-page images with Google Images rankings via DataForSEO to reveal competitor alt text patterns and format distribution. - File Optimization Pipeline: Converts images to WebP/AVIF with cwebp, ImageMagick, or FFmpeg, generates responsive variants, and injects IPTC/XMP metadata including the DigitalSourceType label required by Google Merchant Center for AI-generated product images. - Use Case: Run an audit on a product page to find 12 images missing alt text and 3 oversized hero images, then convert them to WebP with preserved metadata and generate a prioritized fix list sorted by estimated byte savings. ## Quick Start Ask the assistant to run an image SEO audit on a given URL and report alt text, size, format, and lazy loading issues.

Frequently Asked Questions about seo-images

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit images on a webpage for SEO issues?

Run the image audit against a URL to check alt text presence and quality, file sizes against tiered thresholds, formats, responsive srcset, lazy loading, and missing width/height dimensions. Results are summarized in a table with a prioritized optimization list sorted by estimated byte savings.

How to convert images to WebP with metadata preserved?

Use cwebp with the -metadata all flag, for example: cwebp -q 82 -metadata all input.jpg -o output.webp. If cwebp is unavailable, ImageMagick convert or FFmpeg serve as fallbacks, and exiftool can verify metadata survived the conversion.

Does Google require metadata labels for AI-generated product images?

Yes, Google Merchant Center requires IPTC DigitalSourceType metadata such as trainedAlgorithmicMedia on AI-generated product imagery, and feeds missing it can be disapproved. Inject it with exiftool using the XMP-iptcExt:DigitalSourceType field.

Should I lazy-load my hero or LCP image?

No, lazy-loading above-the-fold LCP images directly harms Largest Contentful Paint scores. Instead add fetchpriority="high" to the hero image and reserve loading="lazy" for below-the-fold images only.

What image metadata actually matters for Google Images ranking?

Alt text and descriptive filenames are the critical ranking factors, along with surrounding page context. IPTC Creator and Copyright only affect display attribution in Google Images, while EXIF camera data and IPTC keywords have no SEO impact.