View Single Post
Old 10-04-2022, 10:01 PM   #6
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,624
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by Liudprand View Post
Trouble is, although all of the new jpg image files appear in the Calibre editor exactly where the old png files did, when I open up the book they're all (apart from the cover image) completely blank - just showing "img" at the top.

Do I have to somehow re-link each image with its location within the book? If so, how... ?
Yes, you have to relink each image you replace. See the screenshot below.
For each image you replace, you need to find the corresponding link in the html files and adjust the filename so it points to the new image.

If you had used the "replace image with file..." option from the context menu on the image file, this would have happened automatically, but if the image size is different, and you specified width and height (as shown in the screenshot), then that would need to be changed manually.

Is there a way to batch change files? Not that I am aware of.
Attached Thumbnails
Click image for larger version

Name:	image.jpg
Views:	148
Size:	99.3 KB
ID:	196987  
Karellen is online now   Reply With Quote