Quote:
Originally Posted by EuroScribe
I am dealing with an epub which is full of junk images (eg. Chapter titles, section breaks etc). Looking at the code using calibre code editor, I can see alt texts have been defined for every image.
For the love of God, how can I get rid of images in an epub and just use the alt texts instead. I prefer to have absolutely plain text in my epub, unless the images are essential or at least high quality (maps, illustration etc). I can not stand superfluous decorative images.
So how do I go about doing it? Any method will do as long as the end result is achieved (epub to epub conversion, epub to docx conversion, modifying epub etc).
Any help please. 
|
Are the images just showing text? If that's the case, you can do something like this...
HTML code
Code:
<h2 class="chapter">Chapter One</h2>
CSS code
Code:
h2 {
font-size; large;
margin-top: 1em;
margin-bottom: 1em;
text-align: center;
font-weight: bold;
text-indent: 0;
}
That defines a chapter header of
Chapter One that's bold, center,font size is large, and has a 1em space between the top and bottom of the chapter title.
You replace the <img> code (as well as the <p> or <div>) with the code above and just change the text.