Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 05-20-2010, 01:58 AM   #1
vipinpa
Web Programmer
vipinpa began at the beginning.
 
vipinpa's Avatar
 
Posts: 10
Karma: 10
Join Date: May 2010
Location: India
Device: Sony PRS-505
Epub cover image issue

Hello Everyone,

I have some issue with cover page. The problem is my cover image showing last of the page when I load it in calibre.

I have done .opf like this

in <metadata> section put this
<meta name='cover' content='cover-image'/>

and in <manifest> section cover image and title page like this.

<item id="title" href="title.html" media-type="application/xhtml+xml" />
<item id='cover-image' href='images/cover.jpg' media-type='image/jpeg' />
etc..
'images/cover.jpg' in title.html file.

and in <spine> section ,

<spine toc="ncx">
<itemref idref="title" linear="no"/>
<itemref idref="other pages" />
etc...

finally in <guide> section

<guide>
<reference type="cover" title="Cover Image" href="title.html"/>
etc

I want to show first cover image when I load .epub in calibre. Can you please help me, if I made any mistake in that or need to add anything else?

Please help me.

Vipin
vipinpa is offline   Reply With Quote
Old 05-20-2010, 06:27 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,310
Karma: 4898871
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Items in the spine with linear="no" don't normally show in Calibre ebook reader. They are accessible if there are hyperlinks to them, but not through normal browsing.
Jellby is offline   Reply With Quote
Old 05-20-2010, 08:44 AM   #3
vipinpa
Web Programmer
vipinpa began at the beginning.
 
vipinpa's Avatar
 
Posts: 10
Karma: 10
Join Date: May 2010
Location: India
Device: Sony PRS-505
Thanks for your reply.

But why cover page showing at the end of the book?

Actually I am converting .epub to .mobi for kindle. If I remove linear="no" , then it will show cover page at the start, but in Kindle previewer it showing two cover pages.

Spend so much time on this.

Please help me.

Thanks
Vipin
vipinpa is offline   Reply With Quote
Old 05-20-2010, 09:23 AM   #4
pdurrant
Santa Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 33,332
Karma: 90778786
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Quote:
Originally Posted by vipinpa View Post
Spend so much time on this.

Please help me.
Test your ePubs in something other than the Calibre viewer.
pdurrant is offline   Reply With Quote
Old 05-20-2010, 09:32 AM   #5
vipinpa
Web Programmer
vipinpa began at the beginning.
 
vipinpa's Avatar
 
Posts: 10
Karma: 10
Join Date: May 2010
Location: India
Device: Sony PRS-505
I have checked it in bookworm.oreilly.com. I think here it is looking good.

But how can we fix it in calibre and .mobi file in kindle previewer?

Thanks,
vipin
vipinpa is offline   Reply With Quote
Old 05-21-2010, 06:29 AM   #6
zelda_pinwheel
zeldinha zippy zeldissima
zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.
 
zelda_pinwheel's Avatar
 
Posts: 27,828
Karma: 908606
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
Hi vipinpa, i've moved your thread to the epub forum where it will be more visible. good luck with your problem.
zelda_pinwheel is offline   Reply With Quote
Old 05-21-2010, 06:39 AM   #7
vipinpa
Web Programmer
vipinpa began at the beginning.
 
vipinpa's Avatar
 
Posts: 10
Karma: 10
Join Date: May 2010
Location: India
Device: Sony PRS-505
Hello zelda_pinwheel,

Thanks for moving my thread to epub forum. I am really waiting for a solution..

Thanks,
Vipin
vipinpa is offline   Reply With Quote
Old 05-21-2010, 07:11 AM   #8
pdurrant
Santa Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 33,332
Karma: 90778786
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Quote:
Originally Posted by vipinpa View Post
But why cover page showing at the end of the book?

Actually I am converting .epub to .mobi for kindle. If I remove linear="no" , then it will show cover page at the start, but in Kindle previewer it showing two cover pages.
I think you'll need to upload a sample epub before anyone can give a definitive answer. It might just be a problem with the Calibre viewer, or you might be misinterpreting what you're seeing.

I'd suggest keeping the linear="no", as otherwise you'll have problems with the Kindle file having two versions of the cover image at the front. ePub viewers will show the cover by other means.
pdurrant is offline   Reply With Quote
Old 05-21-2010, 07:44 AM   #9
vipinpa
Web Programmer
vipinpa began at the beginning.
 
vipinpa's Avatar
 
Posts: 10
Karma: 10
Join Date: May 2010
Location: India
Device: Sony PRS-505
Hello,

I am attaching epub here. you can see cover image at the end.

Please check it and let me know if I made any mistake in it.

Thanks in advance.

Vipin

Last edited by vipinpa; 05-25-2010 at 02:22 AM.
vipinpa is offline   Reply With Quote
Old 05-21-2010, 12:08 PM   #10
pdurrant
Santa Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 33,332
Karma: 90778786
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
There are lots of mistakes, but none that affect the cover image. It seems that the Calibre Viewer just decides to put any linear="no" items in the spine at the end, instead of only showing through through TOC access.

As I said - you need to test in more than the Calibre viewer. Adobe Digital Editions is good, since most people will be using one form of it or another. But test in more than one viewer if you can.

You also need to run epubcheck - your .ncx file has a problem with duplicate play order numbers, and your XHTML isn't compliant.

And once you have epubcheck, don't forget that it only checks technical problems with DTD compliance. Passing epubcheck doesn't mean your epub will look good, or read as you expect.

I'd also suggest cutting the cover image down to just the front cover.
Quote:
Originally Posted by vipinpa View Post
Hello,

I am attaching epub here. you can see cover image at the end.

Please check it and let me know if I made any mistake in it.

Thanks in advance.

Vipin
pdurrant is offline   Reply With Quote
Old 05-24-2010, 12:57 AM   #11
vipinpa
Web Programmer
vipinpa began at the beginning.
 
vipinpa's Avatar
 
Posts: 10
Karma: 10
Join Date: May 2010
Location: India
Device: Sony PRS-505
Hello pdurrant,

Thanks for your reply. It is not fixed yet. I am trying to fix it.

Can you tell me what are the major mistakes I have made in the epub please..

Thanks,
Vipin
vipinpa is offline   Reply With Quote
Old 05-24-2010, 01:23 AM   #12
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,908
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by vipinpa View Post
Hello pdurrant,

Thanks for your reply. It is not fixed yet. I am trying to fix it.

Can you tell me what are the major mistakes I have made in the epub please..

Thanks,
Vipin
Your cover page isn't annotated as a cover page. Open up the ePub using Sigil. Right click on title.html - Add symantics - check cover. Then save the file.

I hope this helps.
DoctorOhh is offline   Reply With Quote
Old 05-24-2010, 02:13 AM   #13
vipinpa
Web Programmer
vipinpa began at the beginning.
 
vipinpa's Avatar
 
Posts: 10
Karma: 10
Join Date: May 2010
Location: India
Device: Sony PRS-505
Hello dwanthny,

Thanks for your reply. Actually I am a beginner in epub. I have done what you explained. But I didn't get what is the issue. If you don't mind, please give me bit more explanation about it.

Thanks,
Vipin
vipinpa is offline   Reply With Quote
Old 05-24-2010, 02:20 AM   #14
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,908
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by vipinpa View Post
Thanks for your reply. Actually I am a beginner in epub. I have done what you explained. But I didn't get what is the issue. If you don't mind, please give me bit more explanation about it.
You and I are at the same beginning level. I just noticed that item in Sigil, tried it on your book and it worked.

It seems this setting labels that html as the cover page and it is treated as such from then on.

Now you know everything I know on the subject.
DoctorOhh is offline   Reply With Quote
Old 05-24-2010, 04:11 AM   #15
pdurrant
Santa Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 33,332
Karma: 90778786
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
I didn't say major. I did say:

your .ncx file has a problem with duplicate play order numbers, and your XHTML isn't compliant.

regards,

Paul

Quote:
Originally Posted by vipinpa View Post
Hello pdurrant,

Thanks for your reply. It is not fixed yet. I am trying to fix it.

Can you tell me what are the major mistakes I have made in the epub please..

Thanks,
Vipin
pdurrant is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto-creation of cover image on .epub to .mobi conversion december Calibre 4 02-10-2012 06:31 PM
Epub output - cover art issue marie44 Calibre 4 09-27-2011 03:36 PM
[Old Thread] Epub cover image does not display correctly Amalthia Calibre 30 06-20-2011 12:50 PM
Image Color issue in PDF to EPUB simplysanthakuma Calibre 2 07-07-2010 06:28 AM
epub conversion - cover image Nate the great Calibre 15 09-14-2009 06:15 PM


All times are GMT -4. The time now is 04:30 PM.


MobileRead.com is a privately owned, operated and funded community.