02-12-2024, 03:18 PM | #1 |
Guru
Posts: 724
Karma: 228142
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
|
Author biography without image
I have a girl friend who had a personalized column for the author's biography.
An html format column in version 7.5.1 does not show the photo. But a white box appears as if saying that she did not find the image Will there be a solution |
02-12-2024, 03:40 PM | #2 | |
null operator (he/him)
Posts: 20,583
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
It could be related to this ==>> 7.2 issue with image links... But the changes Kovid made fixed this specific issue for me, and more importantly for the person who raised the issue in the first instance. Added: I'm not 100% sure, but I have a suspicion that Windows may not like the images being in the root directory of a drive, or in one of its 'special' places like Desktop, Nethood, Temp etc. If they're book specific resources I put such things into the book's data folder, if they're library resources I put them into the data folder of a placeholder book (author _resources, title Placeholder) BR Last edited by BetterRed; 02-12-2024 at 04:41 PM. Reason: See Added |
|
Advert | |
|
02-12-2024, 06:08 PM | #3 |
Guru
Posts: 724
Karma: 228142
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
|
B]Added[/B]: I'm not 100% sure, but I have a suspicion that Windows may not like the images being in the root directory of a drive, or in one of its 'special' places like Desktop, Nethood, Temp etc.
I agree with you, but it used to work on Windows I leave you other images to find a solution Image 1 Calibre 6.28 Image 2 Calibre 7.51 Image 3 html code Last edited by dunhill; 02-12-2024 at 06:13 PM. |
02-12-2024, 06:47 PM | #4 |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
It is possible that the problem is related to this commit. IIRC it has something to do with jpg images using a different and unusual color space such as CMYK. The change is in calibre source but not in 7.5.1.
You can test this by running in debug mode and looking for messages of the form "unsupported image mode ..." |
02-12-2024, 09:51 PM | #5 |
creator of calibre
Posts: 43,864
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
So if I understand you correctly the image is missing in the tooltip/book list only. It shows up in the book details panel and the comments editor?
This will likely be the same Qt bug with windows paths that I worked around for those two panels. Working around it for the tooltip is not as easy. Last edited by kovidgoyal; 02-12-2024 at 09:53 PM. |
Advert | |
|
02-12-2024, 10:25 PM | #6 |
null operator (he/him)
Posts: 20,583
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Can someone remind me why the Create link tool in Category notes is not the same as the Create link tool for Comments in MDE and the free standing long text editor.
— Specifically the "Treat URL as image" checkbox and the File, Data and Folder buttons. BR |
02-12-2024, 10:40 PM | #7 |
Wizard
Posts: 1,104
Karma: 4911876
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
Sorry for the stupid question, but how did you create the Author Bio icon with popup info?
Is this done by creating a new long text column? How do you convert that into an icon with popup? Then do you have to create the note for every book or how do you auto add a single authors bio to all their books in the library? I thought it might be the new categories notes, but that wasn't available in v6.28 |
02-12-2024, 11:43 PM | #8 |
creator of calibre
Posts: 43,864
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Qt bug report: https://bugreports.qt.io/browse/QTBUG-122201
|
02-12-2024, 11:44 PM | #9 | |
creator of calibre
Posts: 43,864
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
02-13-2024, 12:08 AM | #10 |
creator of calibre
Posts: 43,864
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
02-13-2024, 07:48 AM | #11 | |
Guru
Posts: 724
Karma: 228142
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
|
Quote:
|
|
02-13-2024, 07:51 AM | #12 | |
Guru
Posts: 724
Karma: 228142
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
|
Quote:
|
|
02-13-2024, 08:14 AM | #13 | |
Guru
Posts: 724
Karma: 228142
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
|
Quote:
|
|
02-13-2024, 08:40 PM | #14 |
Wizard
Posts: 1,104
Karma: 4911876
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
Ok thank you.
I'll have a play around. I guess the icon and pop up feature will become obvious once I set it up. Also looks like you have to copy the author text to each book? I thought it was a "write once, link automatically to all authors books". Probably easier to write a note against the author, but no idea how to display that in a column in the library list. |
02-13-2024, 08:55 PM | #15 | |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
If you want to try this then you would create a "Column built from other columns". The "contains html" box should be checked. This template returns the HTML note, if any, for the first author for a book. Code:
program: get_note('authors', list_item($authors, 0, '&'), '') The performance might or might not be acceptable. The only way to know is to try it. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Free (Kindle) King of Inventors: Wilkie Collins [Classic Literature Author Biography] | ATDrake | Deals and Resources (No Self-Promotion or Affiliate Links) | 2 | 09-20-2017 02:56 PM |
Free (Kindle) E. M. Forster [Vintage 20th C Classic Author Literary Study/Biography] | ATDrake | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 07-24-2017 10:57 PM |
Free (Kindle) The Personality of Chaucer [14th C Author Literature Study & Biography] | ATDrake | Deals and Resources (No Self-Promotion or Affiliate Links) | 1 | 07-16-2017 01:55 PM |
Free (Kindle) Norman Mailer: The Last Romantic [20th C Literary Author Biography] | ATDrake | Deals and Resources (No Self-Promotion or Affiliate Links) | 1 | 05-16-2017 01:18 PM |
Free Biography of Mystery Author | Jeffrmarks | Self-Promotions by Authors and Publishers | 0 | 05-11-2012 05:04 PM |