Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 04-02-2023, 10:56 AM   #1
JollyRoger
Groupie
JollyRoger is on a distinguished road
 
Posts: 150
Karma: 68
Join Date: Jul 2012
Device: Kindle
Can't delete image reference from book

There are two images in an .azw3 book, and using Editor I deleted one of them from the image section, and also from the reference from the metadata file. I save all the files, but then when I reopen, not only is the image reference there again, but the image itself reappears.
I've done an internal search of all files and there is no other reference to it, and yet it reappears every time.
However, text edits I make to the html files are saved and appear without problem. Can anyone suggest what's going on here?

Using Calibre 6.14
JollyRoger is offline  
Old 04-02-2023, 11:20 AM   #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: 31,037
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Deleting from the Images section should leave a 'missing image' icon where used. Those should be adjusted (most likely, deleted)

run Tools:reports:: switch to the images tab.
That shows the images, size and how many usages.
Double click on the image and it takes you to the (code) place used (tested single use)
You can also delete the image file here

It is rare that you should resort to editing the OPF directly. The Editor reflects the edits there. But that does not account for a resore of the Image file deleted in 'Images' section
theducks is online now  
Advert
Old 04-02-2023, 11:46 AM   #3
JollyRoger
Groupie
JollyRoger is on a distinguished road
 
Posts: 150
Karma: 68
Join Date: Jul 2012
Device: Kindle
Quote:
Originally Posted by theducks View Post
Deleting from the Images section should leave a 'missing image' icon where used. Those should be adjusted (most likely, deleted)

run Tools:reports:: switch to the images tab.
That shows the images, size and how many usages.
Double click on the image and it takes you to the (code) place used (tested single use)
You can also delete the image file here

It is rare that you should resort to editing the OPF directly. The Editor reflects the edits there. But that does not account for a resore of the Image file deleted in 'Images' section
First time I've seen that reports section. I saw the two files but double clicking achieved nothing. However I deleted the image file I didn't want. Saved it. Closed the editor. Reopened the book, it's still there! Is it possible that because the book is in 2 formats the .azw3 is linking to the .mobi and taking the file from there somehow?
JollyRoger is offline  
Old 04-02-2023, 01:22 PM   #4
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: 31,037
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by JollyRoger View Post
First time I've seen that reports section. I saw the two files but double clicking achieved nothing. However I deleted the image file I didn't want. Saved it. Closed the editor. Reopened the book, it's still there! Is it possible that because the book is in 2 formats the .azw3 is linking to the .mobi and taking the file from there somehow?
Is your Library on a Synced drive?? (100% not recommended) <<<<<

Edit and the book (format) are not aware of the other EXCEPT during conversion.
theducks is online now  
Old 04-02-2023, 04:11 PM   #5
JollyRoger
Groupie
JollyRoger is on a distinguished road
 
Posts: 150
Karma: 68
Join Date: Jul 2012
Device: Kindle
No not on a synced drive at all. The Calibre library is just buried on the C drive.
JollyRoger is offline  
Advert
Old 04-02-2023, 04:23 PM   #6
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: 31,037
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by JollyRoger View Post
No not on a synced drive at all. The Calibre library is just buried on the C drive.
I don't see how the old version is getting restored??
I remove generic covers and thumbs all the time.

Open the MDE do you have a original_.... format?
certain operations always start with that.

There is a tweak that controls that
ID: save_original_format
theducks is online now  
Old 04-02-2023, 06:24 PM   #7
JollyRoger
Groupie
JollyRoger is on a distinguished road
 
Posts: 150
Karma: 68
Join Date: Jul 2012
Device: Kindle
Quote:
Originally Posted by theducks View Post
Open the MDE do you have a original_.... format?
certain operations always start with that. There is a tweak that controls that
ID: save_original_format
I don't know what that means.
JollyRoger is offline  
Old 04-02-2023, 06:33 PM   #8
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Upload a copy of the book and detail which images you removed and keeps reappearing.

If the book is copyright, you might need to scramble it.
Karellen is offline  
Old 04-02-2023, 06:35 PM   #9
JollyRoger
Groupie
JollyRoger is on a distinguished road
 
Posts: 150
Karma: 68
Join Date: Jul 2012
Device: Kindle
In the manifest section of the metadata file there is this line:
<item id="id2" href="images/00002.jpeg" media-type="image/jpeg"/>
This I delete, and then delete the image. There is no other reference to that image anywhere in the files, and yet after saving and reopening, it appears again.
There has to be some kind of code hidden somewhere that pulls that image from some place and adds it to the manifest file.
The only other possibility is that the 'save' function of editor is not working.
Edit: I just tried to change the title, when I reload the title is not changed. The save function of editor isn't saving clearly, even though the animation says it is.

Last edited by JollyRoger; 04-02-2023 at 06:37 PM.
JollyRoger is offline  
Old 04-02-2023, 06:48 PM   #10
JollyRoger
Groupie
JollyRoger is on a distinguished road
 
Posts: 150
Karma: 68
Join Date: Jul 2012
Device: Kindle
How do I upload the book?
JollyRoger is offline  
Old 04-02-2023, 07:02 PM   #11
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,715
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by JollyRoger View Post
How do I upload the book?
What OS are you using ?

Are you running the calibre book editor from the calibre library manager, or running it directly?

BR

Last edited by BetterRed; 04-02-2023 at 07:05 PM.
BetterRed is offline  
Old 04-02-2023, 07:08 PM   #12
JollyRoger
Groupie
JollyRoger is on a distinguished road
 
Posts: 150
Karma: 68
Join Date: Jul 2012
Device: Kindle
Quote:
Originally Posted by BetterRed View Post
What OS are you using ?

Are you running the calibre book editor from the calibre library manager, or running it directly?

BR
Windows 10. Using the editor through the library.
The save function works as I have just altered some random parts of text and titles etc and that all works fine. Just for some reason that line from the manifest keeps restoring itself. Where is it getting it's info from? There's 10 html files to this book and there's no mention of the image in any of those files.
JollyRoger is offline  
Old 04-02-2023, 07:16 PM   #13
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,715
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Long shot : Editor: Edit->Preferences:

Click image for larger version

Name:	Screenshot 2023-04-03 091200.jpg
Views:	160
Size:	46.4 KB
ID:	200766

Uncheck it if checked:

BR
BetterRed is offline  
Old 04-02-2023, 07:24 PM   #14
JollyRoger
Groupie
JollyRoger is on a distinguished road
 
Posts: 150
Karma: 68
Join Date: Jul 2012
Device: Kindle
Quote:
Originally Posted by BetterRed View Post
Long shot : Editor: Edit->Preferences:

Attachment 200766

Uncheck it if checked:

BR
It was checked, I unchecked it, it made no difference at all.
JollyRoger is offline  
Old 04-02-2023, 07:31 PM   #15
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by JollyRoger View Post
How do I upload the book?
Use the Paperclip icon (next to smilies icon) in the editor bar.
You might have to press "Go Advanced" first if you don't see it.
Karellen is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete a specific image and external links- Modify ?? Robert78 Plugins 21 02-18-2021 11:27 PM
Cover/Image fails to delete shoelesshunter Amazon Kindle 1 07-09-2016 08:20 AM
Delete image from multiple epubs at once redlob Editor 3 05-06-2016 01:27 PM
Image question and still can't delete PalPam Sigil 5 11-14-2013 11:05 AM
Touch Safe to delete cover image files Xennex1170 Kobo Reader 13 02-18-2012 03:55 AM


All times are GMT -4. The time now is 01:27 PM.


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