Resolve every record image from the uploads folder

A bare image filename, whatever it belongs to (organization and event
logos, people photos, team and award logos, backgrounds, hero photos,
block images), now resolves to /uploads/<file>, in media.ts and for
link previews in pageMeta.js. The per-kind public/ folders were
guesses that don't exist. Only the site's own chosen assets, the NGU
logos in the nav, footer and admin, stay bundled from
src/assets/logos.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-09-27 23:29:54 -05:00
parent 9eeb13c5ec
commit dad3803ccc
6 changed files with 55 additions and 56 deletions

View file

@ -1305,7 +1305,7 @@ const frontPage = {
full: true,
help:
"A YouTube, Vimeo or Facebook link, or a video file: a filename in " +
"/front-page/ or a link ending in .mp4 or .webm",
"the uploads folder, or a link ending in .mp4 or .webm",
},
{ path: "video_title", label: "Video title", full: true, help: "Shown after \"Featured video\" above the headline" },
{