From 9b696217a4b37c518155bf906ab604fac5519448 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 24 Sep 2020 20:42:03 +0530 Subject: [PATCH] Fix #1233 (Update opds cover and thumb rel to match OPDS 1.0 and higher) --- src/calibre/srv/opds.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/calibre/srv/opds.py b/src/calibre/srv/opds.py index 205e8bc834..f211f337a2 100644 --- a/src/calibre/srv/opds.py +++ b/src/calibre/srv/opds.py @@ -235,6 +235,8 @@ def ACQUISITION_ENTRY(book_id, updated, request_context): ans.append(link) ans.append(E.link(type='image/jpeg', href=get(what='cover'), rel="http://opds-spec.org/cover")) ans.append(E.link(type='image/jpeg', href=get(what='thumb'), rel="http://opds-spec.org/thumbnail")) + ans.append(E.link(type='image/jpeg', href=get(what='cover'), rel="http://opds-spec.org/image")) + ans.append(E.link(type='image/jpeg', href=get(what='thumb'), rel="http://opds-spec.org/image/thumbnail")) return ans