MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Editor (https://www.mobileread.com/forums/forumdisplay.php?f=262)
-   -   Adding Images (https://www.mobileread.com/forums/showthread.php?t=300084)

JP91306 06-23-2018 07:41 AM

Adding Images
 
I have two versions of the same book. One WITH images, one without. All the images are used in a single "appendix".

I can copy the html from the book with the images a paste it into the second book, and I can "export" the images to a folder from the first book.

I DON'T know how to point the html text to the "new" location of the images so they will be appended.

I am NOT an expert with html coding/editing, so if this question makes no sense, please forgive me.

Thank you.

jp

Phssthpok 07-06-2018 05:41 AM

If the files are in the same directories, it should just work. E.g. if you have an OEBPS/Images directory containing img1.jpg, and an OEBPS/Text directory containing HTML, and the HTML has an image tag like this:
Code:

<img src="../Images/img1.jpg"/>
it should work fine as long as you have the same directory structure in the new book with an Images and a Text directory. If not, replace "../Images/" with the correct relative path from the HTML directory to the images directory -- or, of course, remove it completely if the HTML and images are in the same directory.

Himt: hover the mouse over a filename in the editor's File Browser panel, and the full path is displayed at the bottom left of the window. Just in case you didn't know, a relative path like "../Images" means "go up one directory level" (from OEBPS/Text to OEBPS) "and then down into Images" (so now you'll be in OEBPS/Images).


All times are GMT -4. The time now is 09:26 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.