Koha/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
..
csv-profiles
quotes
access_files.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
ajax-inventory.pl
automatic_item_modification_by_age.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
background-job-progress.pl Bug 20017: use Modern::Perl in Tools perl scripts 2018-02-05 09:46:45 -03:00
batch_delete_records.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
batch_extend_due_dates.pl Bug 24663: Fix one missing occurrence 2020-09-09 15:39:51 +02:00
batch_record_modification.pl Bug 22417: Remove record_type from BatchUpdate* 2020-10-05 15:23:08 +02:00
batch_records_ajax.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
batchMod.pl Bug 24780: Make items.stocknumber show up in batch item modification 2020-09-28 16:09:10 +02:00
cleanborrowers.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
copy-holidays.pl Bug 24878: Add auth check for copy-holidays 2020-03-26 11:35:11 +00:00
csv-profiles.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
exceptionHolidays.pl Bug 4985: Fix Plack scope errors 2020-06-24 15:27:27 +02:00
export.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
holidays.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
import_borrowers.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
inventory.pl Bug 23114: Inventory: allow to scan barcodes 2020-10-01 10:33:10 +02:00
koha-news.pl Bug 26431: Use split button to offer choice of WYSIWYG or code editor for news 2020-09-29 14:28:19 +02:00
letter.pl Bug 25776: Add a 'last updated' column for notices 2020-10-01 10:32:15 +02:00
manage-marc-import.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
marc_modification_templates.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
modborrowers.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
newHolidays.pl Bug 25723: (QA follow-up) Remove unused module import 2020-07-20 17:45:31 +02:00
overduerules.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
picture-upload.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
problem-reports.pl Bug 25627: Move OPAC problem reports from administration to tools 2020-06-15 11:53:36 +02:00
quotes-upload.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
quotes.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
scheduler.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
showdiffmarc.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
stage-marc-import.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
stockrotation.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
tools-home.pl Bug 26338: Show tool plugins run in tools home 2020-09-30 17:30:13 +02:00
upload-cover-image.pl Bug 26145: Add the ability to upload a cover image per item 2020-10-12 11:28:41 +02:00
upload-file.pl
upload.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
viewlog.pl Bug 26137: Remove warnings from viewlog.pl 2020-10-09 13:07:01 +02:00