[Koha-bugs] [Bug 9580] Cover image from Coce, a remote image URL cache

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 19 16:44:34 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9580

--- Comment #57 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Comment on attachment 33201
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=33201
Bug 9580 Cover images from Coce, a remote image URL cache

Review of attachment 33201:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=9580&attachment=33201)
-----------------------------------------------------------------

Frédéric, Mark,
Lazily I tried with your host (coce.tamil.fr:8080), but it does not work.
It seems that the browser blocks the request to other servers, which seems
logical.
Could you confirm or infirm that this worked for you?

::: koha-tmpl/opac-tmpl/bootstrap/en/modules/svc/shelfbrowser.tt
@@ +1,1 @@
> +[% USE Koha %]

Why do you added this line in this file (and not in shelfbrowser.inc)?

::: koha-tmpl/opac-tmpl/bootstrap/js/coce.js
@@ +31,5 @@
> +          var url = urlPerID[id];
> +          $("[id^=coce-thumbnail]."+id).each(function() {
> +            var img = document.createElement("img");
> +            img.src = url;
> +            img.title = url; //FIXME: to delete

Should be removed?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list