Re: Conference followup; open position at Google Cambridge

From: Godmar Back <godmar_at_nyob>
Date: Fri, 12 Mar 2010 22:33:22 -0500
To: CODE4LIB_at_LISTSERV.ND.EDU
On Fri, Mar 12, 2010 at 4:58 PM, Emily Lynema <emilylynema_at_gmail.com> wrote:

> We'd really like to use the cover images from Google in various catalog
> tools, but have noticed in the past that the only cover image info provided
> in the Google Books API is for the small thumbnails. It would be nice to
> also provide links to the other image sizes available, if there are any.
>
>
Though not sanctioned by Google, this JavaScript replacement expression
leads from the thumbnail urls provided by the Google book API to a url
pointing at a larger cover image:

 imgurl = imgurl.replace(/&zoom=5&/, "&zoom=1&").replace(/&pg=PP1&/,
"&printsec=frontcover&");

 - Godmar
Received on Fri Mar 12 2010 - 22:34:02 EST