Re: [CODE4LIB] book cover api

2013-12-05 Thread Kaile Zhu
On a second thought, IIIF won't work for my situation either, though it offers 
much more flexible manipulation on an individual base.

My situation is: I have a loop to list many books, wanting a book cover image 
for each book.  

Kelly

-Original Message-
From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Keith 
Jenkins
Sent: 2013年12月4日 13:50
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] book cover api

So, any bets on which book cover image provider will be the first to implement 
IIIF?

http://www-sul.stanford.edu/iiif/image-api/1.1/

Keith


On Wed, Dec 4, 2013 at 2:41 PM, Karen Coyle  wrote:
> Open Library book covers come in S, M and L -
>
> https://openlibrary.org/dev/docs/api/covers
>
> Of course, if what you want isn't exactly one of those...
>
> kc
>
>
> On 12/4/13 9:34 AM, Kaile Zhu wrote:
>>
>> A while ago, we had a discussion about book cover APIs.  I tried some 
>> of those mentioned and found they are working to some degree, but 
>> none of them would offer the size I want.  The flexibility of the size is 
>> just not there.
>> The size I am looking for is like this:
>> http://img1.imagesbn.com/p/9780316227940_p0_v2_s114x166.JPG
>>
>> Anybody has found a way of implementing book cover api to your 
>> specifications successfully and is willing to share that with me?  
>> Off-line if you want.  Much appreciation.  Thanks.
>>
>> Kelly Zhu
>> 405-974-5957
>> kz...@uco.edu
>>
>> **Bronze+Blue=Green** The University of Central Oklahoma is Bronze, 
>> Blue, and Green! Please print this e-mail only if absolutely necessary!
>>
>> **CONFIDENTIALITY** This e-mail (including any attachments) may 
>> contain confidential, proprietary and privileged information. Any 
>> unauthorized disclosure or use of this information is prohibited.
>
>
> --
> Karen Coyle
> kco...@kcoyle.net http://kcoyle.net
> m: 1-510-435-8234
> skype: kcoylenet
>
>


**Bronze+Blue=Green** The University of Central Oklahoma is Bronze, Blue, and 
Green! Please print this e-mail only if absolutely necessary! 

**CONFIDENTIALITY** This e-mail (including any attachments) may contain 
confidential, proprietary and privileged information. Any unauthorized 
disclosure or use of this information is prohibited.


Re: [CODE4LIB] book cover api

2013-12-04 Thread Joshua Welker
Google Books API returns a JSON object that contains links to three or
four different image sizes. Also, regarding CSS, browsers seem to scale
the height down proportionally when you use CSS to modify the width.

As a side note about Google Books, the cover images seem to only be
available via HTTP, while organizational policy at many institutions
requires HTTPS. This causes issues in newer browsers that don't allow HTTP
content on an HTTPS site. Does anyone know of a workaround other than
saving all the images server-side?

Josh Welker


-Original Message-
From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of
Amy Drayer
Sent: Wednesday, December 04, 2013 12:02 PM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] book cover api

Dear Kelly et al:

I agree to a certain degree with Jonathan that you can use CSS to resize
the images if alternate sizes are not available.  However, I would not
recommend changing the ratio or increasing the size of the original image.
 With Retina displays (Apple), in order to keep any kind of non-pixelated
cover art, you need an original graphic nearly twice the size you plan to
display (depending on image quality), and then you could use CSS to scale
it down correctly (that's one method and probably the easiest with the
images coming from another source).

Syndetics and Content Cafe both offer three sizes of covers, but I am
unfamiliar with APIs that offer size options.  GoodReads seems like it
might, but I haven't tried it.

In peace,

Amy M. Drayer
Senior IT Specialist

In peace,

Amy M. Drayer, MLIS
Senior IT Specialist, Web Developer
amost...@gmail.com
http://www.puzumaki.com


On Wed, Dec 4, 2013 at 11:42 AM, Galen Charlton 
wrote:

> Hi,
>
> On Wed, Dec 4, 2013 at 9:39 AM, Jonathan Rochkind 
> wrote:
>
> > I don't know of any free book cover api that resizes images for you
> > to your specifications, they all only offer images at certain sizes.
> > I don't know about the commercial services like syndectics etc.
>
>
> As a data point, the last time I checked, Syndetics offers a choice of
> "small", "medium", or "large" but doesn't offer on-the-fly scaling to
> user-supplied dimensions.
>
> Regards,
>
> Galen
> --
> Galen Charlton
> Manager of Implementation
> Equinox Software, Inc. / The Open Source Experts
> email:  g...@esilibrary.com
> direct: +1 770-709-5581
> cell:   +1 404-984-4366
> skype:  gmcharlt
> web:http://www.esilibrary.com/
> Supporting Koha and Evergreen: http://koha-community.org &
> http://evergreen-ils.org
>


Re: [CODE4LIB] book cover api

2013-12-04 Thread Kaile Zhu
Yes, this seems to be the solution.  But who will be the first to provide book 
cover using that technology?  Right now, I almost determine that I have to 
select, crop, resize every single book cover image for my needs.  - Kelly


-Original Message-
From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Keith 
Jenkins
Sent: 2013年12月4日 13:50
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] book cover api

So, any bets on which book cover image provider will be the first to implement 
IIIF?

http://www-sul.stanford.edu/iiif/image-api/1.1/

Keith


On Wed, Dec 4, 2013 at 2:41 PM, Karen Coyle  wrote:
> Open Library book covers come in S, M and L -
>
> https://openlibrary.org/dev/docs/api/covers
>
> Of course, if what you want isn't exactly one of those...
>
> kc
>
>
> On 12/4/13 9:34 AM, Kaile Zhu wrote:
>>
>> A while ago, we had a discussion about book cover APIs.  I tried some 
>> of those mentioned and found they are working to some degree, but 
>> none of them would offer the size I want.  The flexibility of the size is 
>> just not there.
>> The size I am looking for is like this:
>> http://img1.imagesbn.com/p/9780316227940_p0_v2_s114x166.JPG
>>
>> Anybody has found a way of implementing book cover api to your 
>> specifications successfully and is willing to share that with me?  
>> Off-line if you want.  Much appreciation.  Thanks.
>>
>> Kelly Zhu
>> 405-974-5957
>> kz...@uco.edu
>>
>> **Bronze+Blue=Green** The University of Central Oklahoma is Bronze, 
>> Blue, and Green! Please print this e-mail only if absolutely necessary!
>>
>> **CONFIDENTIALITY** This e-mail (including any attachments) may 
>> contain confidential, proprietary and privileged information. Any 
>> unauthorized disclosure or use of this information is prohibited.
>
>
> --
> Karen Coyle
> kco...@kcoyle.net http://kcoyle.net
> m: 1-510-435-8234
> skype: kcoylenet
>
>


**Bronze+Blue=Green** The University of Central Oklahoma is Bronze, Blue, and 
Green! Please print this e-mail only if absolutely necessary! 

**CONFIDENTIALITY** This e-mail (including any attachments) may contain 
confidential, proprietary and privileged information. Any unauthorized 
disclosure or use of this information is prohibited.


Re: [CODE4LIB] book cover api

2013-12-04 Thread Keith Jenkins
So, any bets on which book cover image provider will be the first to
implement IIIF?

http://www-sul.stanford.edu/iiif/image-api/1.1/

Keith


On Wed, Dec 4, 2013 at 2:41 PM, Karen Coyle  wrote:
> Open Library book covers come in S, M and L -
>
> https://openlibrary.org/dev/docs/api/covers
>
> Of course, if what you want isn't exactly one of those...
>
> kc
>
>
> On 12/4/13 9:34 AM, Kaile Zhu wrote:
>>
>> A while ago, we had a discussion about book cover APIs.  I tried some of
>> those mentioned and found they are working to some degree, but none of them
>> would offer the size I want.  The flexibility of the size is just not there.
>> The size I am looking for is like this:
>> http://img1.imagesbn.com/p/9780316227940_p0_v2_s114x166.JPG
>>
>> Anybody has found a way of implementing book cover api to your
>> specifications successfully and is willing to share that with me?  Off-line
>> if you want.  Much appreciation.  Thanks.
>>
>> Kelly Zhu
>> 405-974-5957
>> kz...@uco.edu
>>
>> **Bronze+Blue=Green** The University of Central Oklahoma is Bronze, Blue,
>> and Green! Please print this e-mail only if absolutely necessary!
>>
>> **CONFIDENTIALITY** This e-mail (including any attachments) may contain
>> confidential, proprietary and privileged information. Any unauthorized
>> disclosure or use of this information is prohibited.
>
>
> --
> Karen Coyle
> kco...@kcoyle.net http://kcoyle.net
> m: 1-510-435-8234
> skype: kcoylenet
>
>


Re: [CODE4LIB] book cover api

2013-12-04 Thread Karen Coyle

Open Library book covers come in S, M and L -

https://openlibrary.org/dev/docs/api/covers

Of course, if what you want isn't exactly one of those...

kc

On 12/4/13 9:34 AM, Kaile Zhu wrote:

A while ago, we had a discussion about book cover APIs.  I tried some of those 
mentioned and found they are working to some degree, but none of them would 
offer the size I want.  The flexibility of the size is just not there.  The 
size I am looking for is like this:
http://img1.imagesbn.com/p/9780316227940_p0_v2_s114x166.JPG

Anybody has found a way of implementing book cover api to your specifications 
successfully and is willing to share that with me?  Off-line if you want.  Much 
appreciation.  Thanks.

Kelly Zhu
405-974-5957
kz...@uco.edu

**Bronze+Blue=Green** The University of Central Oklahoma is Bronze, Blue, and 
Green! Please print this e-mail only if absolutely necessary!

**CONFIDENTIALITY** This e-mail (including any attachments) may contain 
confidential, proprietary and privileged information. Any unauthorized 
disclosure or use of this information is prohibited.


--
Karen Coyle
kco...@kcoyle.net http://kcoyle.net
m: 1-510-435-8234
skype: kcoylenet


Re: [CODE4LIB] book cover api

2013-12-04 Thread Michael Schofield
Both the Simple and Complex* Google Book APIs let you request essentially a 
small / medium / large version of the cover in the request itself.

I also just kind of want to weigh in with others and recommend finding an API 
that lets you request different image sizes or otherwise consider redesigning 
where these book covers appear if fitting that design means the image is going 
to get stretched out of proportion or look pixelated. Layout ultimately takes 
second-seat to the quality of the content itself, and users ultimately don't 
care about your design unless it's hindering their experience, then you'll hear 
a-plenty.

* I don't really know what the non-simple version is called officially, so hey 
- "complex" :)







// Michael Schofield
The web for libraries your thing? I write about it here at www.ns4lib.com

-Original Message-
From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Keith 
Jenkins
Sent: Wednesday, December 04, 2013 1:16 PM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] book cover api

I was a bit surprised that these techniques from 2005 still work...
http://aaugh.com/imageabuse.html

Basically, Amazon cover images can be manipulated via the URL.  Of course, 
you'll probably want to check Amazon's terms of use.

Keith


Re: [CODE4LIB] book cover api

2013-12-04 Thread Keith Jenkins
I was a bit surprised that these techniques from 2005 still work...
http://aaugh.com/imageabuse.html

Basically, Amazon cover images can be manipulated via the URL.  Of
course, you'll probably want to check Amazon's terms of use.

Keith


Re: [CODE4LIB] book cover api

2013-12-04 Thread Amy Drayer
Dear Kelly et al:

I agree to a certain degree with Jonathan that you can use CSS to resize
the images if alternate sizes are not available.  However, I would not
recommend changing the ratio or increasing the size of the original image.
 With Retina displays (Apple), in order to keep any kind of non-pixelated
cover art, you need an original graphic nearly twice the size you plan to
display (depending on image quality), and then you could use CSS to scale
it down correctly (that's one method and probably the easiest with the
images coming from another source).

Syndetics and Content Cafe both offer three sizes of covers, but I am
unfamiliar with APIs that offer size options.  GoodReads seems like it
might, but I haven't tried it.

In peace,

Amy M. Drayer
Senior IT Specialist

In peace,

Amy M. Drayer, MLIS
Senior IT Specialist, Web Developer
amost...@gmail.com
http://www.puzumaki.com


On Wed, Dec 4, 2013 at 11:42 AM, Galen Charlton  wrote:

> Hi,
>
> On Wed, Dec 4, 2013 at 9:39 AM, Jonathan Rochkind 
> wrote:
>
> > I don't know of any free book cover api that resizes images for you to
> > your specifications, they all only offer images at certain sizes. I don't
> > know about the commercial services like syndectics etc.
>
>
> As a data point, the last time I checked, Syndetics offers a choice of
> "small", "medium", or "large" but doesn't offer on-the-fly scaling to
> user-supplied dimensions.
>
> Regards,
>
> Galen
> --
> Galen Charlton
> Manager of Implementation
> Equinox Software, Inc. / The Open Source Experts
> email:  g...@esilibrary.com
> direct: +1 770-709-5581
> cell:   +1 404-984-4366
> skype:  gmcharlt
> web:http://www.esilibrary.com/
> Supporting Koha and Evergreen: http://koha-community.org &
> http://evergreen-ils.org
>


Re: [CODE4LIB] book cover api

2013-12-04 Thread Galen Charlton
Hi,

On Wed, Dec 4, 2013 at 9:39 AM, Jonathan Rochkind  wrote:

> I don't know of any free book cover api that resizes images for you to
> your specifications, they all only offer images at certain sizes. I don't
> know about the commercial services like syndectics etc.


As a data point, the last time I checked, Syndetics offers a choice of
"small", "medium", or "large" but doesn't offer on-the-fly scaling to
user-supplied dimensions.

Regards,

Galen
-- 
Galen Charlton
Manager of Implementation
Equinox Software, Inc. / The Open Source Experts
email:  g...@esilibrary.com
direct: +1 770-709-5581
cell:   +1 404-984-4366
skype:  gmcharlt
web:http://www.esilibrary.com/
Supporting Koha and Evergreen: http://koha-community.org &
http://evergreen-ils.org


[CODE4LIB] book cover api

2013-12-04 Thread Kaile Zhu
A while ago, we had a discussion about book cover APIs.  I tried some of those 
mentioned and found they are working to some degree, but none of them would 
offer the size I want.  The flexibility of the size is just not there.  The 
size I am looking for is like this:
http://img1.imagesbn.com/p/9780316227940_p0_v2_s114x166.JPG

Anybody has found a way of implementing book cover api to your specifications 
successfully and is willing to share that with me?  Off-line if you want.  Much 
appreciation.  Thanks.

Kelly Zhu
405-974-5957
kz...@uco.edu

**Bronze+Blue=Green** The University of Central Oklahoma is Bronze, Blue, and 
Green! Please print this e-mail only if absolutely necessary! 

**CONFIDENTIALITY** This e-mail (including any attachments) may contain 
confidential, proprietary and privileged information. Any unauthorized 
disclosure or use of this information is prohibited.


Re: [CODE4LIB] book cover api

2013-12-04 Thread Jonathan Rochkind
If the size you want is just a bit smaller than a size offered by a 
service, you can simply deliver it in an HTML img tag that has it's size 
set to what you want (with CSS is the best way), and it'll be more or 
less fine.


You could also software on your end to resize the images to be somewhat 
smaller or larger than what you get from the service. Resizing to be 
larger may involve loss of image quality.


I don't know of any free book cover api that resizes images for you to 
your specifications, they all only offer images at certain sizes. I 
don't know about the commercial services like syndectics etc.


On 12/4/13 12:34 PM, Kaile Zhu wrote:

A while ago, we had a discussion about book cover APIs.  I tried some of those 
mentioned and found they are working to some degree, but none of them would 
offer the size I want.  The flexibility of the size is just not there.  The 
size I am looking for is like this:
http://img1.imagesbn.com/p/9780316227940_p0_v2_s114x166.JPG

Anybody has found a way of implementing book cover api to your specifications 
successfully and is willing to share that with me?  Off-line if you want.  Much 
appreciation.  Thanks.

Kelly Zhu
405-974-5957
kz...@uco.edu

**Bronze+Blue=Green** The University of Central Oklahoma is Bronze, Blue, and 
Green! Please print this e-mail only if absolutely necessary!

**CONFIDENTIALITY** This e-mail (including any attachments) may contain 
confidential, proprietary and privileged information. Any unauthorized 
disclosure or use of this information is prohibited.