educlopez/mallard/lando-img-placeholder
Claude Code and agent skill by educlopez/mallard
- community
Checking that the SKILL.md file is still in the repository.
Sets up a static image placeholder for local Lando PrestaShop development so broken/missing product images show a nice placeholder instead of broken icons. Use this skill when the user says "placeholder de imagenes en lando", "lando image placeholder", "imagenes rotas en lando", "broken images in lando", or wants to avoid downloading hundreds of product images for local development. Trigger proactively whenever the user is working on a Lando PrestaShop project and mentions broken images or missing product photos.
Install
npx vskill@latest install educlopez/mallard/lando-img-placeholderSKILL.md
The same SKILL.md was published earlier as educlopez/mallard/lando-img-placeholder.
Lando Image Placeholder for PrestaShop
Intercepts missing product image requests and serves a static placeholder JPEG. Works for both Apache (lamp) and nginx (lemp) Lando recipes.
Step 0 — Detect recipe
Read .lando.yml and check recipe::
recipe: lamp→ follow Apache pathrecipe: lemp→ follow nginx path
Apache path (recipe: lamp)
1. Create .lando/apache-placeholder.conf
Replace {project} with the name: field from .lando.yml:
The RewriteCond /app%{REQUEST_URI} !-f checks the real filesystem path in the container — only fires for truly missing files.
2. Get the placeholder image
See Choosing the placeholder image below — prefer a real product photo from the shop over a generic stock image.
3. Update .lando.yml
Add vhosts key under services.appserver.config (merge, don't overwrite):
4. Rebuild
nginx path (recipe: lemp)
Placeholder rules go directly into `.lando/nginx-site.conf` — no separate file needed. If nginx-site.conf already exists (standard PS9 setup), just add the location blocks. If it doesn't exist, create it.
1. Add/verify placeholder blocks in .lando/nginx-site.conf
These two location blocks must appear before the main location / block:
If nginx-site.conf doesn't exist yet, use the full PS9 template from lando-setup skill Step 9 — it already includes these blocks.
2. Get the placeholder image
See Choosing the placeholder image below — prefer a real product photo from the shop over a generic stock image.
3. .lando.yml must reference the nginx config
If already set, no change needed.
4. Rebuild
Choosing the placeholder image
Use a real product photo from this shop, not a generic stock image. A landscape or abstract photo repeated across a product grid reads as "everything is broken" and makes it impossible to judge layout, aspect ratio or crop while working. A real product photo makes the grid look like the real store.
Try these in order and stop at the first that works.
A — a product image already on disk
Works when img/ was synced (fully or partially) from the server.
The -size filter skips the tiny 1×1 and empty-thumb files PS leaves around, which would otherwise be picked and give an invisible placeholder.
B — pull exactly ONE image from the server
Works when img/ was skipped entirely (the usual case for multi-GB shops). Costs one file, not the whole folder.
Also worth grabbing the shop logo while you are there — a missing logo in the header is just as misleading as missing products:
C — generic stock photo (last resort)
Only when there is no server access at all and img/ is empty.
Sizing
Whatever the source, a square-ish image around 500–800px works best: PS requests the same URL for every thumb size, and a square scales acceptably into both home_default and large_default containers. Do not use a wide landscape — it letterboxes in portrait product cards.
Verification (both paths)
Notes
/stupload/is excluded in both paths — sliders/modules store images there.try_files $uri /img/placeholder-dev.jpgin nginx only fires if the file doesn't exist (nginxtry_fileschecks real disk)..lando.ymlis typically gitignored in PS projects — safe to modify locally.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/lando-img-placeholder/SKILL.md
Popularity
- Repository stars
- 3
- 7-day trend score
- 7
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/educlopez/mallard/lando-img-placeholder)