Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post Images Do Not Display In Pages #16

Open
michaelmcnees opened this issue Dec 7, 2020 · 1 comment
Open

Post Images Do Not Display In Pages #16

michaelmcnees opened this issue Dec 7, 2020 · 1 comment

Comments

@michaelmcnees
Copy link

When importing pages from Confluence, image src URLs are formatted this way:

https://{ confluence URL }.atlassian.net/wiki/download/attachments/{ attachment id }/{ file name }?version={ version string }&modificationDate={ datestring }&cacheVersion={ cache version string }&api=v2

These URLs only work when viewed by an authenticated user and not when set as the src attribute on the img element of the page body. This does not happen with images that are hosted elsewhere and linked on a Confluence page, but that is not the default way to add an image to a page.

@michaelmcnees
Copy link
Author

This is true for content in a private space. Public space images will load.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant