Koha/koha-tmpl/intranet-tmpl/prog/en/modules/tools
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
..
access_files.tt
automatic_item_modification_by_age.tt
batch_delete_records.tt Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
batch_extend_due_dates.tt Bug 25101: (follow-up) Tick preview checkbox on by default 2020-09-02 15:35:08 +02:00
batch_record_modification.tt Bug 22417: Remove FIXME in the template 2020-10-05 15:23:08 +02:00
batchMod-del.tt Bug 26154: Remove the use of jquery.checkboxes plugin from batch item deletion and modification 2020-10-12 11:28:41 +02:00
batchMod-edit.tt Bug 26154: Remove the use of jquery.checkboxes plugin from batch item deletion and modification 2020-10-12 11:28:41 +02:00
batchMod.tt
cleanborrowers.tt Bug 25765: (QA follow-up) Use method directly in cleanborrowers 2020-07-23 11:17:27 +02:00
csv-profiles.tt Bug 5087: (QA follow-up) Rename the attribute to fit later API usage 2020-07-23 10:52:10 +02:00
export.tt Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
holidays.tt Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
import_borrowers.tt Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
inventory.tt Bug 23114: (QA follow-up) Slightly rephrase message when both barcode options are used 2020-10-01 10:33:10 +02:00
koha-news.tt Bug 26431: Use split button to offer choice of WYSIWYG or code editor for news 2020-09-29 14:28:19 +02:00
letter.tt Bug 25776: (QA follow-up) Add missing filter 2020-10-01 10:32:15 +02:00
manage-marc-import.tt Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
marc_modification_templates.tt Bug 25744: Replace <i> with <em> in staff interface 2020-09-18 11:08:35 +02:00
modborrowers.tt Bug 20443: Move GetBorrowerAttributes to Koha::Patron->extended_attributes 2020-03-23 13:39:25 +00:00
overduerules.tt
picture-upload.tt Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
preview_letter.tt
problem-reports.tt Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
quotes-upload.tt
quotes.tt Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
scheduler.tt
showdiffmarc.tt
stage-marc-import.tt Bug 23753: Add missing humanMsg library to pages using background job JavaScript 2020-03-02 09:49:56 +00:00
stockrotation.tt Bug 24156: move ColumnsSettings to TablesSettings 2020-06-25 10:51:59 +02:00
tools-home.tt Bug 26338: Show tool plugins run in tools home 2020-09-30 17:30:13 +02:00
upload-images.tt Bug 26145: Add the ability to upload a cover image per item 2020-10-12 11:28:41 +02:00
upload.tt
viewlog.tt Bug 26207: (follow-up) Remove whitespace from markup 2020-10-01 10:32:15 +02:00