Social cards: keep the title readable in a centre square crop
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- html, python
- Domain
- build-system, design
Research direction
Start by running scripts/build-general-og.py and scripts/build-event-og.py to regenerate a sample card, then crop the 630×630 centre and a 160 px centre square to see the failure on the Policy Workshop 2026 card. Read where each script places the title, date and lockup, and find the directory card builder alongside them. Pick one of the two options in the issue first, since moving text inward and adding a square og:image variant are different changes. Done means every card's event name and date are legible in the centre crop as well as at full width.
Written by the indexing model from the issue text.
Description
What's happening
iMessage, WhatsApp and some Slack layouts show a link preview as a small square cropped from the centre of the 1200×630 card. The general card (scripts/build-general-og.py), the directory card and the event cards (scripts/build-event-og.py) all set their text on the left, so the centre square shows the middle of the title and cuts the start of each line. On the Policy Workshop 2026 card the square reads "Power Politics and t" over "of Alliances".
Why it matters
Messaging apps are where members forward links to colleagues. A cropped title makes the preview hard to identify.
Fix options
- Keep the 1200×630 layout and move the essential text (event name, date) into the central 630×630 area, with the lockup and footer in the side margins.
- Or add an
og:imagesquare variant (some platforms pick the first image that fits their slot), at the cost of a second render per card.
Either way, check the result in a 160 px centre crop as well as at full width. The general and directory cards are hand-run builders, and the event cards render at deploy.
Target
Backlog — Under watch (design pass, no fixed release).
- Dominant language
- HTML
- Stars
- 1
- Forks
- 1
- Avg merge
- 1h 19m
- Merged PRs (30d)
- 163
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EISSeuropa/netsec.github.io
-
help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
EISSeuropa/netsec.github.io#2302 ·
Maintainers usually reply within 1 day
-
a11y bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
EISSeuropa/netsec.github.io#2248 ·
Maintainers usually reply within 1 day
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 71/100
EISSeuropa/netsec.github.io#2218 ·
Maintainers usually reply within 1 day
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
EISSeuropa/netsec.github.io#1995 ·
Maintainers usually reply within 1 day
-
enhancement help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
EISSeuropa/netsec.github.io#1941 ·
Maintainers usually reply within 1 day
All issues in EISSeuropa/netsec.github.io
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
MingW: build errorPossibly taken A pull request linked to this issue is open or already merged. Openbug
Difficulty 1/5 Under an hour Newbie friendliness 72/100
seladb/PcapPlusPlus#2412 ·
Maintainers usually reply within 2 days
-
perf-hillclimb: two Android builds at once overwrite the corex-build script the other is runningOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ardia-browser/ardia#6132 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 95/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
Maintainers usually reply within 1 day