[Koha] Koha Field that stores link to amazon book covers?
Owen Leonard
oleonard at myacpl.org
Wed Nov 23 03:21:24 NZDT 2011
> All you have to get from database is ISBN.
In other words, the ISBN is the only part that Koha "knows." The rest
of the path to the cover image is hard-coded in the template:
<img border="0" src="http://images.amazon.com/images/P/[%
normalized_isbn %].01.MZZZZZZZ.jpg" alt="Cover Image" />
[% normalized_isbn %] is the placeholder in the template where Koha
puts the ISBN it retrieves from the database.
See also: http://www.majordojo.com/projects/javascript/amazon-image-hacks.php
-- Owen
--
Web Developer
Athens County Public Libraries
http://www.myacpl.org
More information about the Koha
mailing list