Skip to content

Images: WebP standard, folders, and hosted logos for PhilHealth, SPMC, AMUMA - #5

Merged
ProjectFuritsu merged 1 commit into
mainfrom
images/prepare-folders-20261114
Nov 14, 2026
Merged

ProjectFuritsu merged 1 commit into
mainfrom
images/prepare-folders-20261114

Conversation

@ProjectFuritsu

Copy link
Copy Markdown
Owner

Prepares the image folders, sets one image standard, and hosts the first logos in the API.

Images

File For Size
images/FinancialInstitution/philhealth.webp PhilHealth (id 1) 647 × 364, 10 KB
images/HealthInstitution/spmc-cancer-institute.webp SPMC Cancer Institute (id 1) 972 × 547, 14 KB
images/SupportGroups/amuma.webp AMUMA (id 1), replaces amuma.jpg 688 × 387, 15 KB
images/FinancialInstitution/pcso.webp PCSO, for v2 647 × 364, 9 KB
images/FinancialInstitution/doh.webp DOH, for v2 713 × 401, 28 KB

Converted from the originals Fritz provided: never enlarged; logos far from 16:9 are padded with their own background color, logos close to 16:9 are trimmed only at plain edges.

Data

bgImageURL of PhilHealth, SPMC Cancer Institute and AMUMA now points to /images/… instead of other websites. Apps should already prefix the base URL for /images/ paths (as the README says).

Standard (images/README.md)

  • WebP, quality about 80.
  • Doctor photos: square, up to 800 × 800. Everything else: 16:9, up to 1200 × 675.
  • File names: dr-<first>-<last>.webp, <name>.webp, feed-<id>.webp.
  • npm run validate now warns about images that are not WebP.
  • Empty folders kept with .gitkeep (dotfiles are skipped by validate and build).

Checks

  • npm run validate: 5 datasets pass, 0 problems, 2 warnings: pcso.webp and doh.webp aren't used by any v1 data file yet (they are for v2).
  • CI runs validate and the Worker tests on this PR. Merging deploys the images and the 3 updated records.

🤖 Generated with Claude Code

…, AMUMA

- images/: one folder per dataset (Feeds, FinancialInstitution,
  HealthInstitution, MedicalSpecialist, SupportGroups); empty ones kept
  with .gitkeep (dotfiles are skipped by validate and build)
- Standard in images/README.md: WebP; doctor photos square up to 800x800,
  other images 16:9 up to 1200x675, never enlarged; validate warns about
  images that are not WebP
- New WebP images from Fritz: philhealth, pcso, doh (FinancialInstitution),
  spmc-cancer-institute (HealthInstitution), amuma (SupportGroups; replaces
  amuma.jpg)
- Data: PhilHealth, SPMC Cancer Institute and AMUMA bgImageURL now point to
  /images/... instead of other sites. PCSO and DOH images are for v2
  (not used by v1 yet, so validate warns about them)
- CHANGELOG: Unreleased "Images" entry

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ProjectFuritsu
ProjectFuritsu merged commit 4f92f54 into main Nov 14, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant