07-23-2022, 02:39 AM | #1 |
Custom User Title
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 ) Last edited by ownedbycats; 07-23-2022 at 02:49 AM. |
07-23-2022, 04:08 AM | #2 |
null operator (he/him)
Posts: 20,569
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
I thought column icons came from <config>/cc_icons.
BR |
Advert | |
|
07-23-2022, 04:16 AM | #3 |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
🠙 🠙 🠙
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. |
07-23-2022, 04:46 AM | #4 |
Custom User Title
Posts: 8,622
Karma: 61176603
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Oops
|
|
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 |