View Single Post
Old 01-13-2020, 03:13 PM   #23
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,363
Karma: 20212733
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by KevinH View Post
...

Are people trying to "pre-edit" the links in an html document before importing it? If so, how would they know the actual structure in the epub unless they assume it will always be in standard format?

If so, wouldn't it be better just to fix the original links so that they point where they should?
...
Just so. The html file I was importing was a standard template file built under the old system when I knew that the associated image was going to be placed in ../Images/ I hadn't even thought about it automatically grabbing the image when I added the html, I just added them at the same time. When I tried adding just the html it changed the reference to the totally wrong desktop folder.

I can easily fix this - I think - by changing the reference in the template html to just: src="example.png" When the html file is imported it will find the image file and drag it in as well. Then it should update the reference automatically to "../Images/example.png".

As for the changing broken links on add...I wouldn't think they should be changed at all. If it is broken, leave it broken. You could just have a message pop-up mentioning broken links and the user could run a report to find and fix any at their leisure.
Turtle91 is offline   Reply With Quote