From fcfc1ce55e454371fcd6f345ad37f46c4a0ab755 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Mon, 1 Jun 2020 13:53:11 -0500 Subject: [PATCH] Update wanted ebooks list --- scripts/deploy-ebook-to-www | 3 +++ www/contribute/wanted-ebooks.php | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/scripts/deploy-ebook-to-www b/scripts/deploy-ebook-to-www index 7266f2ff..9a801fe7 100755 --- a/scripts/deploy-ebook-to-www +++ b/scripts/deploy-ebook-to-www @@ -140,6 +140,9 @@ do convert -resize "2156" -crop "2156x718+0+1078" -sampling-factor 4:2:0 -strip -quality 75 -colorspace RGB -interlace JPEG "${imgWorkDir}/${urlSafeIdentifier}@2x.jpg" "${imgWorkDir}/${urlSafeIdentifier}-hero@2x.jpg" # Build the cover image thumbnail + # We use JPG instead of SVG for several reasons: + # 1. A JPG is roughly 1/2 the file size of the same SVG, because the SVG must contain the JPG in base64 encoding + # 2. The "scale up" effect on mouse hover is blurry when used on SVGs. git show HEAD:images/cover.jpg > "${imgWorkDir}/${urlSafeIdentifier}.jpg" git show HEAD:images/cover.svg > "${imgWorkDir}/${urlSafeIdentifier}.svg" # The Ubuntu SVG renderer can't handle quotes around font names, so remove them before we process the cover. diff --git a/www/contribute/wanted-ebooks.php b/www/contribute/wanted-ebooks.php index a2b71382..1e1971b0 100644 --- a/www/contribute/wanted-ebooks.php +++ b/www/contribute/wanted-ebooks.php @@ -56,9 +56,9 @@ require_once('Core.php');
  • The Adventures of Sally by P. G. Wodehouse

  • -
  • +
  • A Damsel in Distress by P. G. Wodehouse

  • @@ -149,9 +149,9 @@ require_once('Core.php');
  • The Oakdale Affair (Mucker 3) by Edgar Rice Burroughs

  • -
  • +
  • Pellucidar (Pellucidar 2) by Edgar Rice Burroughs