Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-11-2015, 06:11 AM   #1
zuperbuu
Junior Member
zuperbuu began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2015
Device: Nook Glowlight
Help: How to fix image cloning?

I'm a new Ebook writer and have been suffering repeated issues with getting anything I write to display correctly on my Nook Glowlight; previously I used PDFs which displayed fine until a recent Office update made porting the PDFs to my Nook downright impossible to read afterwards on the device.
I have since migrated to converting with Calibre and have so far had positive results from it.

However, I have started added images to my books and have run into some very annoying problems; my image is only supposed to display on one page and it appears to do so just fine, it's on the page it should be.
But then when I move to the next page the image is there again, just slightly higher up, and has text from the next page overlaying it, and the same happens again on the next page only the image moves higher up. This does not go away unless I move several pages forward, and when I attempt to go back the image appears again.

I checked the HTML source and it displays like this.

Quote:
<br class="calibre2"/><br class="calibre2"/><img src="images/map.jpeg" alt="Image" class="calibre4"/><br class="calibre2"/><br class="calibre2"/>
Usually I can understand basic HTML, but this just confuses me since from what I can see there is nothing wrong with this line, but clearly something is wrong because the glitch appears on every single book I am editing images into.

Any help would be greatly appreciated, Ive been working on these books for the past 6 years and just need to add images to finish them all.
zuperbuu is offline   Reply With Quote
Old 12-11-2015, 12:57 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
That looks a little odd, but valid I will assume the source layout was the same

2 blank lines (the br)
the image with CSS properties of calibre4
2 blank lines

Personally, if I was coding I would just use padding: 2em 0; in calibre4
alt="Map of..." would be a better Alt tag, but there is no way Calibre can guess the image contents
theducks is offline   Reply With Quote
Advert
Old 12-11-2015, 01:09 PM   #3
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,082
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Use this:
Code:
<div="calibre2"/><img src="images/map.jpeg" alt="****" class="calibre4"/></div>
Then fix your line spacing in the css style sheet.

I have found that using two <br /> causes problems with images.

bernie
gbm is offline   Reply With Quote
Old 12-12-2015, 05:00 AM   #4
zuperbuu
Junior Member
zuperbuu began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2015
Device: Nook Glowlight
Quote:
Originally Posted by theducks View Post
That looks a little odd, but valid I will assume the source layout was the same

2 blank lines (the br)
the image with CSS properties of calibre4
2 blank lines

Personally, if I was coding I would just use padding: 2em 0; in calibre4
alt="Map of..." would be a better Alt tag, but there is no way Calibre can guess the image contents
There were two blank lines to give space between the image and the text above and below it, I found without them that the text got too close. I will give you idea a try and see how it goes.

Quote:
Originally Posted by gbm View Post
Use this:
Code:
<div="calibre2"/><img src="images/map.jpeg" alt="****" class="calibre4"/></div>
Then fix your line spacing in the css style sheet.

I have found that using two <br /> causes problems with images.

bernie
I'll give this a try as well if the previous posters idea doesn't give me the visual look I need. Thank you both!

EDIT: I have tried both methods, and whilst both stop the image being cloned onto the following page (page 6) it creates new problems.
Method 1 (theducks) makes the glitch reappear again with the same problem on ALL pages from 7 to 15.
Method 2 (gbm) oddly makes all pages after page 6 inaccessible.

With both everything looks normal on Calibre, but when on the Nook it all looks wrong.

Last edited by zuperbuu; 12-13-2015 at 08:19 AM. Reason: Results of testing.
zuperbuu is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vox Kobo Vox memory card image - Fix tablet upgrade error and more pcampbell Kobo Tablets 76 05-05-2020 12:11 PM
Cloning Libraries Rellwood Library Management 6 10-26-2015 04:07 PM
Cloning Kindle - docs, collection, reading progress, recents PiTRiS Kindle Developer's Corner 7 10-07-2015 07:19 PM
Q: Kindle app cloning with diff package name qna Android Devices 3 07-19-2015 07:35 PM
Manual Sorting ? and cloning a PRS-600 kronium Sony Reader 3 01-22-2010 12:10 AM


All times are GMT -4. The time now is 12:27 AM.


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