View Single Post
Old 05-19-2013, 09:52 PM   #490
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 5,893
Karma: 5704423
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo Touch, Kobo Glo
Quote:
Originally Posted by Quexos View Post
Ok I'm checking a book in calibre. What is this internal viewer ? is that achieved by pushing the little magnifier icon at the top left ?
then from there how do you get to the css ?
As you are in calibre, I suggest you let calibre do the hard work. Select the book and find the "Polish books" function in the toolbar. Press the button and a window will open with several options. One of them is to update the cover. Select that and press the OK button. Calibre will then update the cover. If it can. it simply replaces the existing cover. If it has problems working out exactly what the cover is, it inserts a fie at the start with the cover. The code in this is pretty much what we have been talking about.

After you do the above, have a look at the file and new code so you can see what we are talking about.

If you don't have "Polish books" on the toolbar, you need to add. This is done by opening the Preferences, and pressing "Toolbar" near the top. In the drop-down, select the toolbar or menu you want it on. I have it on the main toolbar. Find the icon for it (a little brush) in the left list, select it and press the right pointing arrow between the lists. You can adjust where it is in the toolbar by selecting it is in the right hand list, and pressing the up or down arrows on the right.
davidfor is offline   Reply With Quote