|
|
#1 |
|
Member
![]() Posts: 24
Karma: 62
Join Date: Dec 2024
Location: PNW, US
Device: kobo
|
content server OPDS thumbnail size?
Is there a way to change the thumbnail size for the content server, in particular when serving over OPDS?
I see that the size is being set in `src/calibre/srv/content.py`, but if I'm reading it right (and I could totally be missing something) it looks like `sz` is only ever assigned a value if you're working with docx. Otherwise, it always comes back as `None`, fails the `rest` check, and is set to the (imo horrifically) small 60x80. I know I can hand edit that and rebuild a local copy...then keep it maintained in perpetuity. Is there a way I'm missing? I hoped the "thumbnail size" for custom lists would override it, but it doesn't appear to impact display in opds at all. Thanks! |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,716
Karma: 28549306
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You would need to change it in opds.py near the end of ACQUISITION_ENTRY specify a thumbnail size when generating the /get href
|
|
|
|
|
|
#3 |
|
Member
![]() Posts: 24
Karma: 62
Join Date: Dec 2024
Location: PNW, US
Device: kobo
|
|
|
|
|
|
|
#4 |
|
Member
![]() Posts: 24
Karma: 62
Join Date: Dec 2024
Location: PNW, US
Device: kobo
|
Just for closure - ironically it was easier to fix the client I was using in koreader to prefer cover vs thumbnail than to try and force a fix in calibre. Might be nice later to be able to set the height of thumbnails - some day.
|
|
|
|
![]() |
| Tags |
| content server, opds, thumbnail size |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New to Koreader - Integration Calibre Content Server & OPDS | lethalox | KOReader | 0 | 08-11-2025 11:16 PM |
| Calibre Web opds access failing as content server | rmzg | Calibre Companion | 8 | 07-23-2018 01:49 AM |
| Help with downloading ebooks into Marvin using Calibre content server vs OPDS | deadman36g | Calibre | 3 | 12-09-2016 04:20 PM |
| OPDS Content Server to provide last modification date | cedhax | Related Tools | 9 | 09-13-2016 08:11 AM |
| Size limit in content server downloads? | PepeM | Calibre | 16 | 07-25-2011 01:11 PM |