Skip to content

Source photographs for every MK #9

Description

@yav02

Some MKs render with no photograph.

How images work today

ui/src/hooks/useWikipediaImages.ts fetches portraits at runtime from the Hebrew Wikipedia API, keyed on each member's wikiTitle, in batches of 25. If a member has no wikiTitle, or their Wikipedia page has no page image, no photo appears. BigQuery also has an mk.photo_url column that is only partly populated.

The work

  1. Produce the list of MKs currently without an image. This can be done from the live site or from the API — it needs no cloud credentials.
  2. Find a licence-compatible source for the gaps. The Knesset website publishes official portraits; its terms of use need checking before anything is copied.
  3. Record the source and licence for each image so the provenance is auditable.

Good first issue

Step 1 is entirely self-contained and needs nothing but a browser. Step 2 is research rather than code. If you want to help but do not want to set up a Google Cloud project, this is a good place to start.

See also the companion issue on serving images from our own storage rather than the client — that one covers where these images should end up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions