Landing Page Image Quality

Landing Page Image Quality

Tells a coding agent to use real, licensed, well-sized images on pages instead of placeholder URLs, with specific alt text, fixed dimensions and responsive checks.


description: "Cursor rules for avoiding placeholder or broken image URLs, using stable visual assets, and checking alt text, dimensions, licensing, and responsive behavior."
globs: */
alwaysApply: false


Landing Page Image Quality

When generating or editing user-facing pages, use real, relevant visual assets instead of placeholder image services.

Image Sources

  • Do not commit placehold.co, via.placeholder.com, dummyimage.com, picsum.photos, random image URLs, or broken/deprecated image services.
  • Prefer committed project assets, product screenshots, generated assets approved by the user, or stable URLs from an approved image provider.
  • Before using a third-party image, confirm the license and attribution requirements are compatible with the project.
  • Avoid hotlinking images from arbitrary websites.

Asset Quality

  • Match images to the actual content, product, place, object, or user state they represent.
  • Do not use vague atmospheric images when the user needs to inspect a product, feature, workflow, or interface.
  • Use consistent aspect ratios for repeated cards or gallery items.
  • Provide explicit width and height attributes or CSS aspect-ratio constraints to prevent layout shift.
  • Use optimized formats and sizes appropriate for the target framework.

Accessibility

  • Every informative image must have specific alt text that describes the image's purpose in context.
  • Decorative images must use empty alt text and should not be announced to assistive technology.
  • Do not put essential text only inside an image.

Implementation Checks

  • Ensure image paths resolve in the built application.
  • Check responsive behavior at mobile and desktop widths.
  • Verify that loading, error, and empty states do not leave broken image icons in production UI.

Public domain (CC0 1.0) · by awesome-cursorrules contributors · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 6,373 prompts

More by @OpenSourceBuffGuy

See all
Website Clone Architect prompt image

Website Clone Architect

Reverse-engineers a website section by section, writes component specs, and hands them to parallel builder agents in git worktrees to rebuild it.

agent-skill, orchestrator, parallel-agents, multi-agent, plan-then-execute, web-development, frontend, codebase-analysis, scaffolding, css, html, nextjs, typescript, git, mcp, claude-code, for-developers, for-designers, long-form, advanced, technical-spec, task-decomposition, structured-output, design-systems, ui-ux, tool-use, checklist, report, vibe-coding

Italian Terrace Cafe Candid Portrait prompt image

Italian Terrace Cafe Candid Portrait

Generates a photorealistic candid shot of a woman in a white corset dress laughing at a sunny hotel terrace cafe, written as detailed JSON.

image-prompt, json-prompt, structured-output, photorealistic, portrait, woman, candid, fashion, cottagecore, natural-light, golden-hour, bokeh, summer, travel, cityscape, mountains, medium-shot, vibrant-colors, for-photographers, nano-banana, fashion-shoot, luxury

Night Street Photo With Leashed Cat prompt image

Night Street Photo With Leashed Cat

Generates a flash-lit night street photo of a blonde woman in a retro track jacket walking a hissing tabby cat on a leash.

image-prompt, json-prompt, nano-banana, structured-output, portrait, woman, animals, pet-portrait, night-scene, street-photography, candid, editorial, fashion, dramatic-lighting, photorealistic, vertical-format, medium-shot, graffiti, for-photographers, for-content-creators

1 view

Reviews

Loading reviews…

Discussion

Loading comments…