View Single Post
Old 07-19-2010, 05:10 PM   #110
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 698
Karma: 150000
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by kiermel View Post
I discover why don't get the image as cover.
This is the code of the image created by writer2epub:

<div><img width="51%;" alt="" src="../images/img0001.jpg" /></div>

I removed the text red marked and the image is now the cover

<div class="sgc-5">
<img src="../images/img0001.jpg" />
</div>


I hope my feedback can help you. I'm sorry if I'm being such a pain!
I think, if you want your epub to pass epubcheck-1.0.5, the <img> tag will need to have the alt="something" in it.

I could be wrong, though.

ETA: And if you want width=51%, use style="width: 51%;" in the <img...> tag.

Last edited by st_albert; 07-19-2010 at 05:14 PM.
st_albert is offline