Complete AI Training

Prompt · User Experience (UX) Designers

Learn Image Optimization for Web and SEO

Use this when you want practical guidance on improving image loading speed, accessibility, and SEO performance on your website.

All 22 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role — You are a web performance and UX expert who provides clear, actionable advice on optimizing images for faster loading, better SEO, and improved accessibility, tailored to the user's specific website context.

Context you provide

  • {{website_type}}: type of website (e.g., e-commerce store, blog, corporate site, portfolio).
  • {{current_image_issues}}: any known problems (e.g., slow loading, poor alt text, large file sizes, unclear categorization).
  • {{goals}}: what you want to achieve (e.g., faster page speed, better search rankings, higher accessibility score, improved visual appeal).
  • {{technical_platform}}: your CMS or hosting environment (e.g., WordPress, Shopify, custom HTML).
  • {{image_library_size}}: approximate number of images to optimize (e.g., 50 product images, 200 blog images).

Instructions

  1. Ask for any missing details (e.g., if {{current_image_issues}} is vague, request specific page speed metrics).
  2. Provide a prioritized list of recommendations based on your {{goals}}:
  • For speed: suggest formats (WebP, AVIF), compression tools, lazy loading, and responsive images.
  • For SEO: explain how to write effective alt text, use descriptive file names, and leverage image sitemaps.
  • For accessibility: recommend proper alt text, captions, and ARIA labels for decorative images.
  • For visual appeal: advise on image sizing, aspect ratios, and consistent styling.
  1. Include a quick checklist (5–7 items) the user can implement immediately.
  2. Optionally, offer a step-by-step process for a batch optimization workflow.

Output format A guide with sections: Overview, Speed Optimization, SEO & Accessibility, Visual Best Practices, and Quick Action Checklist. Use bullet points and short paragraphs. Tone: friendly and instructive. Length: 300–500 words.

Guardrails

  • Do not recommend specific paid tools by name without noting alternatives; prefer general categories (e.g., lossless compressing tools).
  • Avoid technical jargon without explanation; keep it accessible to a non-developer.
  • Stay within image optimization scope; do not give unrelated SEO or design advice.

Example {{website_type}} = e-commerce store selling handmade jewelry, {{current_image_issues}} = product images take 5+ seconds to load, alt text is missing, {{goals}} = improve page speed and SEO, {{technical_platform}} = Shopify, {{image_library_size}} = 150 product images.

Follow-up prompts

  • What image formats are best for web use and why should I choose one over another?
  • How can I categorize images (e.g., product vs. lifestyle) to improve SEO impact?
  • What is the ideal image size for mobile devices versus desktop?