Replies: 2 comments 5 replies
-
|
Hi, I'm not sure there's a bug here. When preview images aren't available, the cover is used instead. There are a number of reasons why there isn't a cover image available:
These all resolve over time, as images get re-generated for books and caches get cleared. Sometimes it's really out of our control, and other times it's too big a cost in terms of performance to prioritizing always having the preview image available. |
Beta Was this translation helpful? Give feedback.
-
|
But to actually answer your question, that is the code that generates preview images. For preview images for books, you can search the code for |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Since the link preview images still aren't working properly ( ref #3793 ), I figured I'd ask how they're made.
Is it this code file under the path bookwyrm/preview_images.py ?
How would I generate an image with this code for a particular review? (Apart from needing the direct link to a review, which I already have.)
(I have no experience with python and am relatively a noob when it comes to coding – I know a bit of html)
Beta Was this translation helpful? Give feedback.
All reactions