{"slug":"link-preview-fix","name":"Link Preview and Favicon Fix","version":"1.0.2","updated_at":"2026-11-08T10:50:07.507Z","use_when":"Finds why a shared link shows no preview card, the page builder's stock image, a broken relative image path or a blank tab icon, and gives the fix for the person's framework. Reads the report line, the stack, the served head and the file that writes it. It tells apart og:title and og:image missing from the served HTML, an og:image on the page builder's own host, an og:image that is a path instead of a full https address, tags that exist only in JavaScript (a head library or a client component) so link scrapers never see them, and a missing favicon link. The fix makes the image file really exist, and the Verify line fetches it. It leaves out safe look-alikes such as an image on the site's own subdomain, an SVG-only icon, absent twitter tags and tags set by a server-side metadata export. One line per finding, then the exact tags, or exactly No findings. Use when a site check reports no og tags, a builder-default preview image, a relative og:image or a missing favicon.","not_for":"The wording of titles and descriptions, empty pages without JavaScript, resizing or compressing the picture, twitter card tags, and frameworks or hosts not named in the skill, which get a fix in the same shape marked unchecked. It reads the pasted files and report lines; it does not fetch your site.","languages":["en"],"tags":["open-graph","og-image","favicon","link-preview","nextjs","vite","lovable"],"category":"seo","category_url":"https://aiskills402.com/categories/seo","keywords":["preview card","stock image","tab icon"],"faq":[{"q":"Which five findings can the reply name?","a":"Five, each under a fixed label: no Open Graph tags at all, an image on the page builder's own host, an image given as a path instead of a full address, tags that only a script writes in the browser, and a missing icon link. The answer also carries the exact tags to paste and one Verify line."},{"q":"Why does the fix check that the image exists?","a":"Swapping a builder's stock picture for an address on your own domain is no fix while nothing is served there; the preview turns from a wrong image into a missing one. The answer says who supplies the file and where it goes, and the Verify line fetches the address and wants a 200 with an image content type."},{"q":"Does it help Claude Sonnet?","a":"Unknown so far. This card went live before any model was run on it, so no benefit for Sonnet or Haiku is claimed here. A comparison of answers with and without the file is planned for the coming week of quota, and the outcome will be written on this page, a result of no gain included."},{"q":"What does a correct page return?","a":"Exactly one line, No findings., and nothing around it. An image on your own subdomain with a generic file name, an icon that is only an SVG, a page with no twitter tags and tags set by a server-side metadata export earn no line and no remark."}],"examples":[],"page_url":"https://aiskills402.com/skills/link-preview-fix","markdown_url":"https://aiskills402.com/skills/link-preview-fix.md","image_url":"https://cdn.aiskills402.com/og/skills/link-preview-fix/e5a52879.png","related_url":"https://api.aiskills402.com/v1/skills/link-preview-fix/related","purchases_count":null,"tested":{"date":"2026-11-08","strong":{"model":"claude-sonnet-5-5 (Claude Code alias \"sonnet\")","verdict":"Not run: the skill was published on 8 November 2026 before its test run, by the owner's decision. No result for this model exists yet."},"weak":{"model":"claude-haiku-5-5 (Claude Code alias \"haiku\")","verdict":"Not run: the skill was published on 8 November 2026 before its test run, by the owner's decision. No result for this model exists yet."},"note":"Five cases are written and checked by code in test/cases.json: planted causes (no Open Graph tags, the builder's stock image, a relative og:image path, tags written only by a script, a missing icon link), each with one safe look-alike, and one clean page that must get the exact sentence No findings. The plan is to run each case once per model with and without the skill, one run after another, read the answers by hand, and publish the numbers on this page whatever they show. Until then the skill is sold unmeasured: no gain is claimed, there is no Recommended mark and no article. Facts about frameworks and hosts come from their public documentation, see the changelog.","report_url":null},"price_usd":"0.02","price_micro":20000,"size_bytes":15796,"sha256":"c229373e64e66a0cf848ae545c080411b4d7ed3864022736ac5a79d354225518","outline":["The answer","Where the tags come from","What is NOT a finding","The codes","What each framework documents","Rules","Work in this order","Short example"],"license":{"summary":"Perpetual, non-exclusive; use and modify for yourself incl. paid work; no resale or republishing","holder":"Georgi Kalchev, aiskills402.com","url":"https://aiskills402.com/docs#license"},"buy_url":"https://api.aiskills402.com/v1/skills/link-preview-fix/file","redownload_url_template":"https://api.aiskills402.com/v1/purchases/{token}","mcp_tool":null,"payment":{"protocol":"x402","scheme":"exact","asset":"USDC","selling":true,"network":"base","network_caip2":"eip155:8453","pay_to":"0xbc0dcc70d8b5d85541d86ffc68d988fd59c22e68","facilitator":"cdp"},"seo_title":"Fix Link Previews and the Favicon","seo_description":"Finds why a shared link shows no card, the builder's stock image or a blank tab icon, then writes the fix for Next.js, Vite or Lovable. $0.02, one payment.","versions":[{"version":"1.0.2","date":"2026-11-08","changelog":"# Changelog\n\n## 1.0.2 — 2026-11-08\n\nOnly the test summary text changed (the reason for the missing test run is no longer stated). The file itself is identical to 1.0.1.\n\n## 1.0.1 — 2026-11-08\n\nOne phrase of the instructions reworded (the line about a static head), so that no free article repeats the paid wording. Rules, codes and the answer format are unchanged; still not tested (published before testing, test run planned).\n\n## 1.0.0 — 2026-11-07\n\nFirst release. Published 8.11.2026 before testing; test run planned (no measured benefit is claimed). Ordered by the site checker for four of its report lines: no Open Graph tags, the page builder's stock image, a relative og:image and a missing favicon link. The idea is ours; no foreign skill was opened, facts come from the public documentation of each framework and host (see notes/ideas.md). Output: one line per finding with a fixed code, a Tags block with the exact tags, one Verify line, or exactly `No findings.`\n"},{"version":"1.0.1","date":"2026-11-08","changelog":"# Changelog\n\n## 1.0.1 — 2026-11-08\n\nOne phrase of the instructions reworded (the line about a static head), so that no free article repeats the paid wording. Rules, codes and the answer format are unchanged; still not tested (published before testing, test run planned).\n\n## 1.0.0 — 2026-11-07\n\nFirst release. Published 8.11.2026 before testing; test run planned (no measured benefit is claimed). Ordered by the site checker for four of its report lines: no Open Graph tags, the page builder's stock image, a relative og:image and a missing favicon link. The idea is ours; no foreign skill was opened, facts come from the public documentation of each framework and host (see notes/ideas.md). Output: one line per finding with a fixed code, a Tags block with the exact tags, one Verify line, or exactly `No findings.`\n"},{"version":"1.0.0","date":"2026-11-08","changelog":"# Changelog\n\n## 1.0.0 — 2026-11-07\n\nFirst release. Published 8.11.2026 before testing; test run planned (no measured benefit is claimed). Ordered by the site checker for four of its report lines: no Open Graph tags, the page builder's stock image, a relative og:image and a missing favicon link. The idea is ours; no foreign skill was opened, facts come from the public documentation of each framework and host (see notes/ideas.md). Output: one line per finding with a fixed code, a Tags block with the exact tags, one Verify line, or exactly `No findings.`\n"}]}