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

Set imageResourcesPath to correct relative path #689

Merged
merged 1 commit into from
Mar 2, 2023
Merged

Set imageResourcesPath to correct relative path #689

merged 1 commit into from
Mar 2, 2023

Conversation

dasjoe
Copy link
Contributor

@dasjoe dasjoe commented Dec 13, 2022

The viewer tries to load images from its default path (./images/), with . being relative to the app URL this resolves to /apps/files_pdfviewer/images/annotation-noicon.svg instead of /apps/files_pdfviewer/js/pdfjs/web/images/annotation-noicon.svg.

Resolves #571

Signed-off-by: Hajo Möller dasjoe@gmail.com

The viewer tries to load images from its default path (`./images/`), with `.` being relative to the app URL this resolves to `/apps/files_pdfviewer/images/annotation-noicon.svg` instead of `/apps/files_pdfviewer/js/pdfjs/web/images/annotation-noicon.svg`.

Resolves #571

Signed-off-by: Hajo Möller <dasjoe@gmail.com>
@skjnldsv
Copy link
Member

/compile

@DaphneMuller
Copy link

@skjnldsv can this be merged?

@skjnldsv
Copy link
Member

skjnldsv commented Mar 2, 2023

/rebase

@skjnldsv skjnldsv merged commit f245b1c into nextcloud:master Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

comments in pdf viewer are overlayed with "NoIcon"
3 participants