dragonman225 / notablog

Tell stories of your work with Notion
https://dragonman225.js.org/notablog.html
MIT License
665 stars 79 forks source link

Images on my portfolio not showing #13

Closed aliforgetti closed 3 years ago

aliforgetti commented 3 years ago

image This is what they look like. I have been trying to fix this. Tried updating notablog but did not work. Using notablog starter

dragonman225 commented 3 years ago

Umm, that's odd, since images on my blog are working.

Does the URLs of those images on your portfolio look like below?

https://www.notion.so/signed/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fc5a88411-c761-4386-8283-0bb41dc70361%2Fimage01.png?table=block&id=25c812d9-12ef-412d-9e7e-c9b809b5b252

Check especially if the bold parts exist.

aliforgetti commented 3 years ago
https://www.notion.so/signed/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fa7f7a502-36ef-41b1-bc17-58b4cb6c6ba3%2FUntitled.png?width=1123

It has the first part but not the send part that you bolded.

diegoalbuquerque commented 3 years ago

I have the same problem. Is difficult to download the entire image and change the img links to a relative folder ? This will separate entire site from notion, i think.

Vshalson commented 3 years ago

I experienced this issue today. And found page was accidentally not shared to web. Solution worked for me: Allow "Share to web", commit changes and git push.

dragonman225 commented 3 years ago

I experienced this issue today. And found page was accidentally not shared to web. Solution worked for me: Allow "Share to web", commit changes and git push.

Since images, videos, files, ... are served from Notion's server (we leverage Notion's CDN infrastructure!). And that's why notablog requires users to enable "Share to web" on their tables, so that anonymous readers of a site can access the resources.