Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Jonathan Druart c3f2993bdb Bug 26145: Add the ability to upload a cover image per item
This patchset adds the ability to attach cover images at item level.
This commit message will explain the different patches that are
following.

The main idea is to have cover images for a given item. This is useful
for a bibliographic record linked with a subscription. Each item could
have the cover image for the serial numbers.

In this first patch there is a limitation to allow only 1 cover per
item, but a later patch will remove it. That way we will take advantage
of the recent work done to display nicely cover images (bug 25031), and
reuse it in this development (staff interface only).

In order to use a flexible and robust code, the legacy C4 code
(C4::Images) has been moved to Koha::CoverImages. Also the DB table
biblioimages has been renamed cover_images.

Test plan (for the whole patch set):
0. Turn off AllowMultipleCovers
1. Create a new bibliographic record and items
2. Attach a cover image to the bibliographic record
3. In the item list of the bibliographic detail page, you will notice a
new "Upload image" action. Select it
4. Select an image
=> Notice the new column in the item table
5. Upload another image
=> You cannot upload 2 images, you are going to replace the existing one
6. Turn on AllowMultipleCovers
7. Attach another image to the image
=> Notice the 2 images are displayed nicely, with navigation controls
8. Confirm you can view an image if you click on it and you can delete it
9. Test the OPAC view now
=> Cover image for items are displayed in the table, there is no
navigation controls here however.

Sponsored-by: Gerhard Sondermann Dialog e.K. (presseplus.de, presseshop.at, presseshop.ch)

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-10-12 11:28:41 +02:00
..
acqui Bug 26503: Add limit for standing orders to acq advanced search 2020-10-12 11:28:41 +02:00
admin Bug 23420: (QA follow-up) Remove AllowPurchaseSuggestionBranchChoice syspref 2020-10-09 12:22:01 +02:00
authorities Bug 25320: (follow-up) Remove obsolete include file 2020-09-29 14:28:19 +02:00
basket Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
batch
catalogue Bug 26145: Add the ability to upload a cover image per item 2020-10-12 11:28:41 +02:00
cataloguing Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
circ Bug 23695: (QA follow-up) Revert 'Orginating library' option 2020-10-09 13:07:01 +02:00
clubs Bug 25744: Replace <i> with <em> in staff interface 2020-09-18 11:08:35 +02:00
common
course_reserves Bug 14648: Take advantage of I18N to deal with plural 2020-10-01 10:33:10 +02:00
errors
ill Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
installer
labels Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
mana
members Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
offline_circ
onboarding Bug 26449: fix web installer typo 2020-10-08 11:36:32 +02:00
patron_lists
patroncards
plugins Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
pos Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
reports Bug 24958: Remember last selected tab in SQL reports 2020-09-29 14:28:18 +02:00
reserve Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
reviews Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
rotating_collections Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
serials Bug 26152: Remove the use of jquery.checkboxes plugin from serial collection page 2020-10-12 11:28:41 +02:00
services
suggestion Bug 26151: Remove the use of jquery.checkboxes plugin from suggestions management page 2020-09-29 14:28:18 +02:00
tags Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
test
tools Bug 26145: Add the ability to upload a cover image per item 2020-10-12 11:28:41 +02:00
virtualshelves Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
about.tt Bug 22417: Add rabbitmq status indicator on the about page 2020-10-05 15:26:36 +02:00
auth.tt Bug 24958: Remember last selected tab in SQL reports 2020-09-29 14:28:18 +02:00
intranet-main.tt Bug 26015: Replace 2 missing occurrences 2020-08-31 16:10:25 +02:00