[Bug 36835] New: Add a way to get a local cover image from biblionumber
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36835 Bug ID: 36835 Summary: Add a way to get a local cover image from biblionumber Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Web services Assignee: koha-bugs@lists.koha-community.org Reporter: mathsabypro@gmail.com QA Contact: testopia@bugs.koha-community.org I don't think there is currently an API route for getting a local cover image (stored by Koha) from the biblionumber of the record It could be useful -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36835 Magnus Enger <magnus@libriotech.no> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |magnus@libriotech.no --- Comment #1 from Magnus Enger <magnus@libriotech.no> --- You can do requests like these: https://<opac>/cgi-bin/koha/opac-image.pl?thumbnail=1&biblionumber=68225 https://<opac>/cgi-bin/koha/opac-image.pl?biblionumber=68225 ...and get the image back. What would the API return other than the image itself? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36835 Arthur Suzuki <arthur.suzuki@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #2 from Arthur Suzuki <arthur.suzuki@biblibre.com> --- *** Bug 36223 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36835 Arthur Suzuki <arthur.suzuki@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |arthur.suzuki@biblibre.com --- Comment #3 from Arthur Suzuki <arthur.suzuki@biblibre.com> --- In my opinion there is still something missing though. There is no way to know if a record actually have a local cover image or not. If you use a generated link with the biblionumber in the hope that all your catalog will have cover image then many records will be missing a cover (unless you provide a local cover image to all your records). It would be great to export the local cover image to a marc field only if it exists. we could then check the presence of this field (unimarc 856u for example) to generate a cover image link, or not. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36835 --- Comment #4 from Mathieu Saby <mathsabypro@gmail.com> --- oh I did not know the URL https://<opac>/cgi-bin/koha/opac-image.pl?biblionumber=68225 It suits my needs -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36835 --- Comment #5 from Mathieu Saby <mathsabypro@gmail.com> --- but I agree with Arthur's comment, we should have a way to check if a record has a (or several) local cover But you can not use 856u in unimarc for that, this field must be reserved for the link to the online ressource itself (see https://www.transition-bibliographique.fr/wp-content/uploads/2018/07/B856-6-... , in french). I think marc21 is less strict. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36835 --- Comment #6 from Mathieu Saby <mathsabypro@gmail.com> --- By the way, and a bit off topic, I discover that there is a weird discrepancy between IFLA definition of UNIMARC 856 field and the use of UNIMARC in France. IFLA defintion : "This field contains the information required to locate the electronic resource described by the record and/or reference files related to the described resource such as thumbnails and content pages" => the 2d indicator can be used to specify the nature of the link In France we are not supposed to use the 2d indicator, and the 856 field is supposed to contain a link to the ressource itself -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org