View Single Post
Old 02-09-2018, 12:46 AM   #1
hvugar
Member
hvugar began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Feb 2018
Device: none
Image locations problem

Hello, Sigil team.

I have some problem in my ePub book structure. There is some book which is not in standart Sigil eBook file structure. For example my pages are located in folder OEBPS\units\unit1\page1.xhtml, OEBPS\units\unit1\page2.xhtml, OEBPS\units\unit1\page3.xhtml ..., OEBPS\units\unit2\page1.xhtml, OEBPS\units\unit2\page2.xhtml, ... and etc. Image, Fonts, Video files are located in OEBPS\assets\img\image1.png, OEBPS\assets\img\someimage2.png, ..., OEBPS\assets\vid\move1.png, OEBPS\assets\fonts\segoepr.ttf, and etc.

But during opening this file all images, videos and etc are located in OEBPS\Images, OEBPS\Videos, and etc. And links in the pages *.xhtml are not changes. And in pages images are not visible. It happens because sigil dont locates my images in OEBPS\assets\*.png files into Images folder. After saving any other ePub viewers also dont shows images, because in this case links to images in pages ../../assets/someimage.png are broken, this folder dont exists. Existes new file structure OEBPS\Images, OEBPS\Videos and etc. How to fix this problem?

Thanks.
hvugar is offline   Reply With Quote