Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-02-2024, 05:40 AM   #16
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: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kovidgoyal View Post
So you are saying cross drive images are not working?
That's what I was seeing Kovid, but I think that could have been coincidental - it didn't 'feel' like it was the different drives.

So, I've just put the image on an USB HDD (H:), I can see it from regular 7.4 installed on C:, but I can't see it from portable 7.4 installed on D:.



Added: I'm going to try putting Portable on the USB drive.

BR

Last edited by BetterRed; 02-02-2024 at 08:10 PM.
BetterRed is offline   Reply With Quote
Old 02-02-2024, 06:30 AM   #17
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: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
I'm back to not being able to make head or tail of it

From an install of regular 7.4 on C I can see images on C and H, but not on D.
From an install of portable 7.4 on D I can see images on D but not on C or H.
From an install of portable 7.4 on H I can see images on C and H, but not on D.

From an install of portable 6.29 on C I can see images on C, H, and D.
From an install of portable 6.29 on D I can see images on C, H, and D.
From an install of portable 6.29 on H I can see images on C, H, and D.

That suggests it's not a flaky drive or a permissions issue.

By 'see the images' I mean see image files in Book Details that were embedded in Comments via the Link tool File button in MDE.

I'll have another look at it tomorrow

BR

Last edited by BetterRed; 02-02-2024 at 10:14 PM.
BetterRed is offline   Reply With Quote
Old 02-02-2024, 05:39 PM   #18
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: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Kovid - Just noticed a major difference between 6.29 and 7.4, which I'm assuming is related to the original issue:

In 6.29 I can always see the image that is embedded into Comments in Metadata Edit in the Normal view, viz

Click image for larger version

Name:	6.29 MDE.jpg
Views:	43
Size:	319.2 KB
ID:	206177

In 7.4 I can never see the image that is embedded into Comments in Metadata Edit in the Normal view, including books where I can see the image in Book details.

Click image for larger version

Name:	7.4 MDE.jpg
Views:	36
Size:	433.3 KB
ID:	206178

I'll have a look at what happens in a custom long text column.

Added: Similar:

In 6.29 I get the image in Normal view when I edit the cell:

Click image for larger version

Name:	6.29 custom column .jpg
Views:	35
Size:	268.7 KB
ID:	206179

In 7.4 I get a small white square in Normal view when I edit the cell:

Click image for larger version

Name:	7.4 custom column .jpg
Views:	36
Size:	227.5 KB
ID:	206180

BR

Last edited by BetterRed; 02-02-2024 at 08:14 PM.
BetterRed is offline   Reply With Quote
Old 02-03-2024, 06:50 AM   #19
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I can reproduce the issue with the comments editor that will be fixed. Not seeing the issue with book details however.
kovidgoyal is offline   Reply With Quote
Old 02-03-2024, 09:54 AM   #20
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: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kovidgoyal View Post
I can reproduce the issue with the comments editor that will be fixed.


Before doing any more on the Book details issue I'll wait to see what happens in 7.5 with the comments editor fix. I created a separate library for the issue, so it's not in my way.

FWIW: If I change the links I cannot see from:

Code:
<p><img src="file:///path_to_jpg></p>
to:

Code:
<p><a href="file:///path_to_jpg">Cover source</a></p>
I can click 'Cover source' in book details and the image pops up in my default image viewer. Incidentally, this is how I normally deal with alternate covers.

BR
BetterRed is offline   Reply With Quote
Old 02-03-2024, 10:50 PM   #21
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...fa78e465b537b9
kovidgoyal is offline   Reply With Quote
Old 02-08-2024, 02:03 AM   #22
CloudReader
Member
CloudReader began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Mar 2021
Device: Kindle Paperwhite 4
Thank You for the extensive testing, @BetterRed

I'm not sure which installed version it was where this behavior started showing up, I just noticed it with 7.2.

I haven't tried putting the alternate files into the Data folder, as I still don't know exactly how to use it (and I've been doing it "My" way for so long, it's just old hat...), so can't comment on whether that works or not.
CloudReader is offline   Reply With Quote
Old 02-09-2024, 01:44 AM   #23
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: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
As anticipated Version 7.5 has solved the comments edit issue

And for me at least, 7.5 overcomes the original issue of images sometimes not appearing the Book details. All my previous tests work as expected in 7.5.

The acid test will be when @CloudReader gives it spin.

A suggestion: an option to shrink the embedded image to fit the BD window. If memory serves that's why I decided to use 'a ref' links rather than 'img' links.

BR
BetterRed is offline   Reply With Quote
Old 02-09-2024, 01:53 AM   #24
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by BetterRed View Post

A suggestion: an option to shrink the embedded image to fit the BD window. If memory serves that's why I decided to use 'a ref' links rather than 'img' links.

BR
I dont know of any way to do that given the limitations of Qt's rich text subset https://doc.qt.io/qt-6/richtext-html-subset.html
kovidgoyal is offline   Reply With Quote
Old 02-09-2024, 02:43 AM   #25
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: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kovidgoyal View Post
I dont know of any way to do that given the limitations of Qt's rich text subset https://doc.qt.io/qt-6/richtext-html-subset.html
I noticed @CloudReader has a width="300" in the image link code he posted.

Given most folks probably don't change the BD panel size or position perhaps 'Image width" could be incorporated into the L&F->Book details settings, or in the Create Link dialogue beside the "Treat the URL as an image" checkbox.

I will stick to using 'a ref' links, sometimes I want very large tiffs and if they're embedded they have a negative impact on performance.

BR
BetterRed is offline   Reply With Quote
Old 02-09-2024, 03:06 AM   #26
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Not a fan of putting in a fixed width for images. It becomes hardcoded and difficult to change in the future should you want to for whatever reason. Cooments ar enot rendered only in the book details panel, they are rendered in int he content server, the go to metadata page in the viewer as well.
kovidgoyal is offline   Reply With Quote
Old 02-12-2024, 10:48 AM   #27
CloudReaderTemp
Junior Member
CloudReaderTemp began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2024
Device: Kindle Paperwhite SE
This is CloudReader - I tried to change my email address and now the system won't let me post any replies...

Anyways, Thank You so much, @kovidgoyal - The issue is fixed with the latest update!
CloudReaderTemp is offline   Reply With Quote
Old 02-12-2024, 10:52 AM   #28
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You're welcome!
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Broken Image Links andhistablet Calibre 17 05-31-2023 06:29 AM
Image links without underline slicknick001 Kindle Formats 17 12-20-2013 07:16 AM
Sigil and SVG image links Rand Brittain Sigil 1 01-05-2013 05:39 PM
Save image links nickodemos Calibre 3 01-04-2013 12:57 PM
Links: Image replacement methods ckirchho ePub 1 10-22-2012 04:54 AM


All times are GMT -4. The time now is 03:09 AM.


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