NotionX / NotionX/react-notion-x
Images are no longer rendering. Looks like the image file format has been changed by Notion
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.4k
- Forks
- 645
- PR merge metrics
- No merged PRs in 30d
Description
Description
Now, image signed URLs are starting with files.notion.so for some reason and that case is not being handled by the defaultMapImageUrl. Because of this, images are no longer rendering correctly.
Check the below notion page for an example.
Notion Test Page ID
39192dc8661e4776a91cfa5eb37c9499
Contributor 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.
Research direction
Start by locating the defaultMapImageUrl implementation and compare its handling of signed URLs with the example Notion page ID 39192dc8661e4776a91cfa5eb37c9499. Update the image URL handling so files.notion.so URLs render correctly, then verify that images from the test page display as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100