Rule

0 installs · 0 said it worked

PatrickJS@patrickjs·
CodingRule· for Cursor

Cursor rules for landing page images that avoid placeholders and broken assets

Cursor rules guiding the AI to use real, licensed, stable image assets with matching content, accessible alt text, explicit dimensions, and responsive checks on user-facing pages.

People use this for

  • cursor rules landing page images
  • avoid placeholder images website
  • image alt text rules
  • real licensed images for web
  • prompt for responsive image checks
Name
cursor-rules-for-landing-page-images-that-avoid-placeholders-and
Works with
Cursor
License
CC0(as observed at the source)
Version
v1 · updated Nov 29, 2026
Imported · UnclaimedCC0

Imported on Nov 29, 2026 from github.com . License observed at the source on Nov 29, 2026: CC0.

Are you the author?Claim this profileRequest removal

Use this rule

$ curl -fsSL "https://promptcommunity.dev/api/v1/posts/cursor-rules-for-landing-page-images-that-avoid-placeholders-and-broken--2hkf/export/mdc" -o .cursor/rules/cursor-rules-for-landing-page-images-that-avoid-placeholders-and.mdc

Then open a new session; Cursor picks it up from .cursor/rules/.

Download cursor-rules-for-landing-page-images-that-avoid-placeholders-and.mdc
Manual install

Save cursor-rules-for-landing-page-images-that-avoid-placeholders-and.mdc as .cursor/rules/cursor-rules-for-landing-page-images-that-avoid-placeholders-and.mdc for this project or ~/.cursor/rules/cursor-rules-for-landing-page-images-that-avoid-placeholders-and.mdc for every project, then start a new session.

Rule


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.

No result recorded yet. Added it? File a Tried-it report so the next person knows how it went in your editor.

Tried it

Reports from people who added this rule to their editor. They roll up into the badges above.

No one has filed a report yet. Try the prompt and be the first.

License: CC0v1 · published Nov 29, 2026

Comments

No comments yet. If you tried this prompt, say how it went.