Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 08-29-2011, 08:37 AM   #1
Giordano Galli
Junior Member
Giordano Galli began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Aug 2011
Location: Italy
Device: none
References to images in the guide: are they legal?

Hello

As I understand it the OPF 2.0.1 specification states that an 'href' attribute in the guide can only target a content document, yet an example from lynda.com regarding the conversion from ePub to mobi reads href="images/464.png".
I'd like to know if this syntax is allowed in the mobi specification or if it would at least pass validation.

Thank you very much.

Giordano
Giordano Galli is offline   Reply With Quote
Old 08-29-2011, 09:09 AM   #2
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
You don't include images in the manifest of a Mobi file - if you do, you'll end up with them in the book twice.

You can certainly use relative image paths in the HTML source for the book - Mobi Creator (or whatever tool you're using) will pick the image up and do the right thing with it.
HarryT is offline   Reply With Quote
Advert
Old 08-29-2011, 09:44 AM   #3
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
I'd like to know if this syntax is allowed in the mobi specification or if it would at least pass validation.
Being a proprietary format, there is no 100% agreed upon public "specs" nor a universal "validation" program for MOBI. If the code produces the results you want across a variety of devices/programs... then it's valid mobipocket file.
DiapDealer is offline   Reply With Quote
Old 08-29-2011, 02:02 PM   #4
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: 696
Karma: 150000
Join Date: Feb 2010
Device: none
references like this
Code:
<reference href="Images/9781606191484.jpg" title="Cover" type="cover" />
in the <guide> section of an epub destined for conversion to mobi via kindlegen have always worked for me. I have never tried such references in other than type="cover" however.
st_albert is offline   Reply With Quote
Old 08-29-2011, 02:04 PM   #5
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Should work fine, yes.
HarryT is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple references troymc Sigil 3 05-06-2010 03:20 PM
Guide for you can see correctly the pdfs "comics, images, documents" in ereaders sony computersexperto LRF 2 11-29-2009 06:13 AM
Reference Guide: How to Prepare Images for EPUB (and other) Formats Zorba ePub 13 11-22-2009 08:28 AM
EFF Legal Guide for Bloggers (in mobile formats!) hacker Lounge 8 06-15-2005 03:37 PM


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


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