daisy / daisy/pipeline-modules

dtbook-to-odt creates absolute links to path on server when images=linked

Open
#121 6 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
HTML
Stars
4
Forks
6
PR merge metrics
No merged PRs in 30d

Description

When the `images=LINKED` option is enabled the odt contains links to the images instead of the embed image. That is fine. The problem however is that the `xlink:href` points to a temporary path on the server

``` xml

```

If I modify these links to a relative path and place the images in the same directory as the odt file, the file opens correctly and the images are showing.

``` xml

```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the dtbook-to-odt conversion entry point and reproduce the issue with images=LINKED. Inspect how the generated draw:image xlink:href is built, comparing the absolute temporary path with the expected relative path. Done means the ODT keeps linked images and opens them correctly when the images are placed beside it.

Written by the indexing model from the issue text.

Assessment

Domain
content
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.