On Fri, Mar 12, 2010 at 4:58 PM, Emily Lynema <[log in to unmask]> 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
|