Bug 14571: HTTPS Amazon images [follow up]
I found a couple more places where we should be using images-na, so I updated them * in the shelf browser * in XISBN related works (honestly not sure how to test this one, but changing from the http:// url won't hurt anything.) To test: * Turn on the shelf browser, and browse for an item that has an amazon image, * inspect it, it should be using https://images-na... url. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
This commit is contained in:
parent
85397f429d
commit
b2c25ba1f6
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@
|
|||
[% END %]
|
||||
[% IF ( OPACAmazonCoverImages ) %]
|
||||
[% IF ( item.browser_normalized_isbn ) %]
|
||||
<img src="http://images.amazon.com/images/P/[% item.browser_normalized_isbn %].01._AA75_PU_PU-5_.jpg" alt="" />
|
||||
<img src="https://images-na.ssl-images-amazon.com/images/P/[% item.browser_normalized_isbn %].01._AA75_PU_PU-5_.jpg" alt="" />
|
||||
[% ELSE %]
|
||||
<span class="no-image">No cover image available</span>
|
||||
[% END %]
|
||||
|
|
|
@ -960,7 +960,7 @@
|
|||
<tr>
|
||||
<td>
|
||||
[% IF ( OPACAmazonCoverImages ) %]
|
||||
<img src="http://images.amazon.com/images/P/[% XISBN.normalized_isbn %].01._AA75_PU_PU-5_.jpg" alt="" />
|
||||
<img src="https://images-na.ssl-images-amazon.com/images/P/[% XISBN.normalized_isbn %].01._AA75_PU_PU-5_.jpg" alt="" />
|
||||
[% END %]
|
||||
|
||||
[% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
|
||||
|
|
Loading…
Reference in a new issue