Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 07-23-2022, 02:39 AM   #1
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 8,622
Karma: 61176603
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
txt.png not rendering

I updated this column icon template:

Code:
program: 
   f = $formats;
   strcat
   (
		if "epub" inlist f then 'epub.png:' fi,
		if "pdf" inlist f then 'pdf.png:' fi,	
		if "azw3" inlist f then 'azw3.png:' fi,
		if "mobi" inlist f then 'mobi.png:' fi,
		if "cbz" inlist f then 'cbz.png:' fi,	
		if "txt" inlist f then 'txt.png:' fi,	
		if "paperbook" inlist f then 'paperbook.png:' fi,
		if "overdrive" inlist f then 'overdrive.png:' fi,	
		if list_difference(field('formats'), 'epub, pdf, azw3, mobi, cbz, paperbook, overdrive, txt', ', ') then 'unknown.png' fi	
   )
C:\Program Files\Calibre2\app\resources\images\mimetypes\txt. png is there, but it's not displaying. I don't think it's a template problem.

Last edited by ownedbycats; 07-23-2022 at 02:49 AM.
ownedbycats is offline   Reply With Quote
Old 07-23-2022, 04:08 AM   #2
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,569
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
I thought column icons came from <config>/cc_icons.

BR
BetterRed is online now   Reply With Quote
Advert
Old 07-23-2022, 04:16 AM   #3
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
I thought column icons came from <config>/cc_icons.

BR
🠙 🠙 🠙

Create a basic rule that shows the icon. You will need to add it to the collection of possible icons. Once you do that then your template will work. Delete the basic rule.

Or just copy the icon to cc_icons if you are sure it is in an acceptable format.
chaley is offline   Reply With Quote
Old 07-23-2022, 04:46 AM   #4
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 8,622
Karma: 61176603
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Oops
ownedbycats is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
convert: png treated as txt wuebbel Calibre 2 08-23-2019 05:21 AM
K3: new files ubnfilel.txt ubninit ubnkern ubnpathl.txt rolgiati Kindle Developer's Corner 0 08-31-2018 07:38 AM
Sony Reader for PC -- not rendering 16-color png GrannyGrump Workshop 27 10-16-2013 03:25 PM
Slow txt to mobi convertion, performance at o(n^2) as lines of txt grow? forceps Calibre 6 11-26-2012 11:47 AM
where to get autorun.xml, icon.png, key.png, lut.bin for PRS-505 obender Sony Reader Dev Corner 2 01-25-2009 03:20 PM


All times are GMT -4. The time now is 07:05 PM.


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