02-27-2011, 05:05 PM | #1 |
Junior Member
Posts: 9
Karma: 10
Join Date: Feb 2011
Device: none
|
jpg as a cover, how to adjust it as a 1st page?
Hello,
I had aproblem that when converting one of word doc tempalates to HTML, it would save that format. so I did a workaround and changed the whole 1st page into a sinlge jpg and added it as a cover. so far so good. now, when converting it into an epub in calibre I see that the jpg is only on half of the 1st page. how can I make it to automatically adjust itself as a whole page to whatever screen size the user is using? thanks, Shlomo |
02-27-2011, 05:14 PM | #2 |
Addict
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
|
you can adjust the cover in your CSS file image Height = 100%
If you are not sure about how to go about doing that try this Program for editing ePubs. https://www.mobileread.com/forums/showthread.php?t=52493 |
Advert | |
|
02-27-2011, 05:20 PM | #3 |
Junior Member
Posts: 9
Karma: 10
Join Date: Feb 2011
Device: none
|
Thanks!!!
can you please tell me what exctly is the code to add and where as I"m not a css person... thanks, Shlomo |
02-27-2011, 05:30 PM | #4 |
Addict
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
|
Add this to your template.CSS file. (you can edit it in either a text editor like textwrangler or in dreamweaver, something which saves as UTF-8)
PHP Code:
PHP Code:
|
Tags |
cover page, epub, jpg, word |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"add metadata as 1st page" won't work on batch [send to device] | Bellychaser | Devices | 3 | 01-25-2011 03:25 PM |
Calibre changes size of cover.jpg when copy to new Libary --> see PDF attached | icq70610 | Calibre | 5 | 10-02-2010 01:29 PM |
JPG cover files not removed from Novel | js4c | Calibre | 5 | 08-03-2010 09:27 PM |
Can't update cover if file cover.jpg is already in the directory ? | q345 | Calibre | 14 | 06-08-2010 06:23 AM |
PRS-900 Problem with 1st line on a page cut off? | Marcy | Sony Reader | 7 | 02-17-2010 01:20 AM |