NotionX / NotionX/react-notion-x
Notion-client help: How do I get the full image url of the image from the Files & Media property?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.4k
- Forks
- 645
- PR merge metrics
- No merged PRs in 30d
Description
Description
I am frustrated that I only get the file name of the file from the properties of type File & Media in the post object.
When I set a new property called thumbnail of type Files & Media and I upload a new image file to that property, I would like to get the image url of the image file in my posts object in getAllPosts.

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 tracing the getAllPosts entry point and how Files & Media properties are represented in the post object. Check whether the Notion response includes an image URL or only a file name, then verify that the completed behavior exposes the uploaded image URL for the thumbnail property.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100