scientist-softserv / adventist_knapsack

Apache License 2.0
1 stars 0 forks source link

Set default thumbnails to pull from first page of multipage work #182

Open KatharineV opened 2 months ago

KatharineV commented 2 months ago

We rely on system-generated thumbnails for all newly-imported works, and we'd like those thumbnails to show the first page of multipage works. For example, if a work contains a 5 page PDF, page 1 would be the thumbnail. Right now the system appears to select a page of the PDF at random or from the end of the file, which leads to situations where the representative image for a work is confusing and lacks context. See example screenshots below of books in the catalog search that show the final page of the PDF as the thumbnail.

Image

Links to the works shown above:

  1. https://adl.b2.adventistdigitallibrary.org/concern/published_works/22266364_cardinal_1931?locale=en
  2. https://adl.b2.adventistdigitallibrary.org/concern/published_works/22266362_cardinal_1930?locale=en
  3. https://adl.b2.adventistdigitallibrary.org/concern/published_works/22266378_cardinal_1939?locale=en
  4. https://adl.b2.adventistdigitallibrary.org/concern/published_works/22266368_cardinal_1933?locale=en
KatharineV commented 2 months ago

Please note that several of the works linked above won't open until scientist-softserv/adventist_knapsack#521 is resolved. I got link number 4 (Cardinal | 1933) to open briefly, and I attempted to change the thumbnail manually.