Create scalable image alt text formulas for catalogs

Generate predictable, programmatic alt-text templates across e-commerce product image types. Use this when managing large SKUs that lack manual image descriptions.

You getAttribute Mapping, formula Table and implementation Guardrails

Prompt

Prompt
Act as an e-commerce SEO specialist. Create scalable, programmatic image alt-text formulas for an online store catalog so thousands of product assets stay accessible and search-friendly.

First, ask me 2 numbered questions and wait for my reply:
1. What product categories do you sell, and what attributes are stored in your database (e.g., brand, color, material, size, model number)?
2. What image angles or types do you display (e.g., front view, packaging, model shot, detail zoom)?

Once I reply, generate formulas following these rules:
- Keep all generated formulas under 125 characters.
- Prioritize accessibility and visual clarity over keyword density.
- Provide fallback logic for catalog entries missing secondary attributes.

Output format:
- Attribute Mapping: Database fields required.
- Formula Table: Columns for Image Type, Formula Syntax, and Rendered Example.
- Implementation Guardrails: Rules for duplicate angles, decorative thumbnails, and null values.

Example output

Example for: athletic footwear catalog with brand, model, colorway, and shot angles

Attribute Mapping
  • Primary: [Brand], [Model Name], [Primary Colorway]
  • Secondary: [Shot Angle], [Special Edition Name (Optional)]
Formula Table
Image TypeFormula SyntaxRendered Example
Main Hero[Brand] [Model Name] running shoe in [Primary Colorway], side profileBrooks Ghost 15 running shoe in black and cobalt, side profile
Detail ZoomClose-up of [Brand] [Model Name] [Primary Colorway] outsole treadClose-up of Brooks Ghost 15 black and cobalt outsole tread
OverheadOverhead view of [Brand] [Model Name] laces and collarOverhead view of Brooks Ghost 15 laces and collar
Model ActionRunner wearing [Brand] [Model Name] in [Primary Colorway] on roadRunner wearing Brooks Ghost 15 in black and cobalt on road
Implementation Guardrails
  • Null Values: If [Primary Colorway] is missing from database, fall back to: "[Brand] [Model Name] athletic shoe, [Shot Angle]".
  • Decorative Assets: Swatch icons and background graphics must use an empty alt attribute (alt="") so screen readers skip them.
  • Redundancy: Do not prefix with "image of" or "picture of".
Written by AI from this prompt. Your results will vary.

Works directly in ChatGPT, Claude, or Gemini. Reply to the model's two questions with your store's platform fields (like Shopify or Magento data points). Follow up by asking for the rules exported as a CSV template.

Make it repeatable

Keep using this prompt without pasting it in every time.

Keep exploring

More in SEO