Cheerful Curmudgeon

A complete lack of ideas and the power to express them.

  • Home
  • About Me
    • Art Zemon’s PGP Key
    • Privacy Policy
  • Bede BD-4C
    • Hall of Fame
  • Piper Arrow

Caching Free LibraryThing Book Covers

August 11, 2008 Art Zemon

LibraryThing did something amazing last Thursday: it made images of the covers of a million books available for anyone to use for free. This is way better than using Amazon.com’s book covers because you can display them without linking to Amazon. If you are a library or an independent book store, having links on your web site which can draw your patrons or customers to Amazon is not a particularly good thing. It is obviously better than a commercial book cover service because, well, it’s free.

Here is an example. I own a copy of 100 Great Fantasy Short, Short Stories. Since I am using a LibraryThing cover, I can legally link the image to the LibraryThing description (which I have done) or I could have linked it to my own LibraryThing catalog or to anything else I choose.

There are a couple of small potential problems and these prompted me to write a little caching script for the LibraryThing covers. First, you need to use your own developer key to obtain the covers from LibraryThing and there is a slight chance that you could exceed the maximum number of covers per day that LT is willing to provide to you. Second, since I am quite sure that this service will be very popular, LT’s servers could get a bit overburdened if everybody hits them for images.

The solution? Install my little LTcovers PHP script on your own web server. It is just a single file and needs a single directory in which it can store copies of the book cover images that you need. As your patrons/customers/users display covers on your web site, LTcovers will grab the images from LibraryThing and keep a local copy. Once configured, it needs no maintenance.

What do you need?

  1. The ltcovers.zip script. Right-click on that link and “Save As” ltcovers.zip on your own web server. Unzip the file to extract ltcovers.php
  2. Your own LibraryThing developer key. It’s free and you need to have your own.
  3. You might want a 1×1 pixel transparent GIF image as a default image, in case you request a cover which LibraryThing does not have. You can download one from here. (Use “Save As” again.)

My LTcovers script is available for free under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.

The images from LibraryThing are available under these terms, “You also agree to some very limited terms: You do not make LibraryThing cover images available to others in bulk. But you may cache bulk quantities of covers. Use does not involve or promote a LibraryThing competitor. If covers are fetched through an automatic process (eg., not by people hitting a web page), you may not fetch more than one cover per second.”

I hope that between LibraryThing and this script, you can save a few dollars (if you are now paying for a commercial book cover service) and provide a better experience for your web site visitors (if you are now linking to Amazon).

Shameless commercial plug: If you want to use LTcovers but cannot install it on your own web server, Hen’s Teeth Network will be glad to provide you with a small hosting account quite suitable for running it. We will even install LTcovers for free if you sign up for one of our hosting accounts.

Internet, Rants & Raves, Recommendations, Software

Recent Posts

  • Stretching a Photo April 21, 2025
  • There are Elephants in the Room April 10, 2025
  • Let’s Eliminate Real WFA April 1, 2025
  • Thumb Wrist Neck Waist Height March 18, 2025
  • Avoid Targeted Advertisements February 5, 2025

About Art Zemon

Omni-curious geek. Husband. Father. Airplane builder & pilot. Bicyclist. Photographer. Computer engineer.

Comments

  1. munmon says

    November 2, 2011 at 8:12 am

    Is the download link working?

    • Art Zemon says

      November 7, 2011 at 9:58 pm

      I fixed the link. It is working now.

Categories

  • Aviation (261)
    • Bede BD-4C (174)
    • Soaring (5)
  • Bicycling (37)
    • St. Louis to Atlanta (8)
    • St. Peters to Minneapolis (18)
  • Business (48)
  • Cabbages & Kings (24)
  • Communicating (37)
  • Ecology (21)
  • Economy (8)
  • Family (35)
  • Finding the Good (43)
  • Fun (188)
    • Six Word Stories (8)
  • Gardening (5)
  • Genealogy (5)
  • Government (35)
  • Health (67)
  • Judaism (10)
  • Men (12)
  • Mideast (5)
  • Movies (8)
  • Philosophy (15)
  • Photography (27)
  • Rants & Raves (103)
  • Recommendations (35)
  • Safety (37)
  • Science (22)
    • Biology (7)
    • Physics (7)
    • Pyschology (3)
  • Technology (195)
    • eBooks (7)
    • Internet (66)
    • Software (63)
    • VOIP (5)
  • Travel (43)
  • Tzedakah (12)
  • Women (5)

You Will Also Like

  • Art Zemon's Genealogy
  • Art Zemon's Photos
  • Mastodon @babka.social
  • Mastodon @raphus.social

Search

#DonorForLife

6 gallon blood donor badge
#DonorForLife - Give Blood - Save Lives

Archives

Copyright © 2025 · Daily Dish Pro Theme on Genesis Framework · WordPress · Log in