Bug 9660 follow-up: OpenLibrary covers are too small in CCSR too
authorJared Camins-Esakov <jcamins@cpbibliography.com>
Sat, 30 Mar 2013 01:48:15 +0000 (21:48 -0400)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Sat, 30 Mar 2013 01:48:15 +0000 (21:48 -0400)
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/opac-tmpl/ccsr/en/js/openlibrary.js

index c07ba3b..10a58dd 100644 (file)
@@ -51,7 +51,8 @@ KOHA.OpenLibrary = {
                         $(this).append(img);
                         $(this).append('<div class="results_summary">' + '<a href="' + book.url + '">Preview</a></div>');
                     } else {
-                        img.src = book.cover.small;
+                        img.src = book.cover.medium;
+                        img.height = '110';
                         $(this).append(img);
                     }
                 } else {