Skip to content

Conversation

@Thechi2000
Copy link
Contributor

@Thechi2000 Thechi2000 commented Feb 2, 2026

Adds an API route /api/og-image?<id> taking the ID of a directus image and returning the image in a format appropriate for OG properties. In particular, this means that SVGs are rendered into PNG with a width of 1300px. This api can be generated with the getDirectusOgImageUrl function and is passed in the TabTitle components.

Minor changes:

  • Updates the formatter in .vscode/settings.json as prettier.prettier-vscode was deprecated in favor of esbenp.prettier-vscode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📋 Backlog

Development

Successfully merging this pull request may close these issues.

1 participant