scientist-softserv / adventist_knapsack

Apache License 2.0
1 stars 0 forks source link

🐛 No thumbnails #209

Open ShanaLMoore opened 6 months ago

ShanaLMoore commented 6 months ago

ref convo: https://assaydepot.slack.com/archives/C0313NJV9PE/p1702412451689949

Per Katharine,

One of the IRs in our consortium has started uploading files to the repo. But the works with files attached aren't generating thumbnails. Since the core ADL sites (ADL & SDAPI) have always generated thumbnails automatically, I'm not sure if this is a bug or if it's due to the servers being very busy with ADL's import or if there is a feature flipper I don't know about. Can you advise me what to expect here?

This is the IR: https://wwu.b2.adventistdigitallibrary.org/?locale=en

And on the homepage you see two featured works with the default PDF icon. The "Nutritional Content of Non-Dairy Frozen Desserts" work has a PDF attached, but no thumbnail has rendered. https://wwu.b2.adventistdigitallibrary.org/concern/journal_articles/b42f7d8f-f068-421f-876f-26d83f6a40f5?locale=en

Sample File: nutrients-14-04150-v2.pdf

NOTES

For extra context:

The team expects the pdfs to split and derivatives to run regardless if PDF.js is on or off. (despite what the flipper's help text says)

In other projects, PDF.js ON means pdf imports won't split but that was not hooked up for ADL.