Rule
0 installs · 0 said it worked
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 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.mdcThen open a new session; Cursor picks it up from .cursor/rules/.
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
widthandheightattributes 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
alttext 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.
Related rules
- Security guardrails that keep an AI email assistant from being hijacked by malicious messages
A full system prompt giving an AI assistant that reads or manages email a security mindset: treat email as untrusted data, require approval for outward actions, avoid leaking private data, and report phishing and injection attempts calmly.
Productivity · @thanos0000
- Explain, test, and harden a Python regular expression
Explains a Python regex token by token, tests it against must-match and must-not-match samples, flags risky patterns like catastrophic backtracking, and returns a safer rewrite with a test table.
Coding · @f
- Convex backend coding rules for Cursor AI assistant
A Cursor rules file (.mdc) that guides the AI to write Convex backend code with current best practices: new function syntax, validators, function registration, references, pagination, schema, and query and action rules.
Coding · @patrickjs
- Claude api: reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming,…
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any fo
Coding · @anthropic
- Generate AI-first design handoff notes for implementation agents
Produces a structured, machine-parseable design handoff document with exact values, states, breakpoints, and edge cases so AI coding agents can implement a design without guessing.
Coding · @gokbeyinac
License: CC0v1 · published Nov 29, 2026
Comments
No comments yet. If you tried this prompt, say how it went.