docsy
docsy copied to clipboard
Print section with images in page bundles has broken image links
When images are included as page bundles and the print section feature is used, the images will have broken links in the content rendered for printing. An example of this can be found in docsy's own documentation.
Navigate to: https://www.docsy.dev/docs/adding-content/shortcodes/ Scroll down and there are flag images in a section demonstrating a tab pane. One in each tab. Use the print section function to format the page for printing. Scroll down and note that the images in the tabbed pane are broken links. These are images in a page bundle.
The images linked from an outside CDN, or placed in something like static also work. The problem comes in the pathing to the images when page bundles are used.
@gwatts (or anyone else familiar with the print layout) can you take a look at this?
Any chance someone can look at solving this issue?
Any chance someone can look at solving this issue?
For a workaround, see #1449.
it seems that the links on the print page are not resolved according to their new position. The workaround is to change them into absolute paths, like what #1449 does