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

Invalid image paths #56

Closed
mattgarrish opened this issue Oct 6, 2017 · 0 comments
Closed

Invalid image paths #56

mattgarrish opened this issue Oct 6, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@mattgarrish
Copy link

I get temp paths appended to 'data/' at the start for the images and links in the report:

<a href="data/C:\Users\MATTG_~1\AppData\Local\Temp\tmp-9220h7bqnUI85EZx\EPUB\images\326261902_3fa36f548d.jpg"><img src="data/C:\Users\MATTG_~1\AppData\Local\Temp\tmp-9220h7bqnUI85EZx\EPUB\images\326261902_3fa36f548d.jpg" alt="cover-image, child against a wall"></a>

Using chrome on windows, this does a funky expansion to:

file:///C:/Users/mattg_000/Desktop/ace/data/C:/Users/MATTG_~1/AppData/Local/Temp/tmp-9220h7bqnUI85EZx/EPUB/images/326261902_3fa36f548d.jpg

So only the alt text shows up in the report.

The file has been moved from the temp path, and I don't see the temp path in the json data for the images (there are temp paths for the audio, video and js).

At any rate, this would be the correct path:

data/EPUB/images/326261902_3fa36f548d.jpg

Again, this was from the CC Shared Culture book.

@rdeltour rdeltour self-assigned this Oct 6, 2017
@rdeltour rdeltour added the bug label Oct 6, 2017
@rdeltour rdeltour added this to the Beta 1 milestone Oct 6, 2017
rdeltour added a commit that referenced this issue Oct 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants