Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Owen Leonard 3de4031de1 Bug 25025: Drag-and-drop cover image upload
This patch updates the Upload local cover image page so that the user
has the option of dragging a file from a folder on their computer
instead of using a file upload button.

The patch also adds a preview of uploaded single images and display of
existing images on the record you're adding to.

To test, apply the patch and make sure the LocalCoverImages system
preference is enabled.

- Go to Tools -> Upload local cover image and test the following
  processes:

- Upload single cover image, specifying a biblionumber
  - Test dragging an image from a file on your computer
  - Test clicking the "Drop files here or click..." link.
    - You should see a preview of the image file on the screen, with
      information about the file: file name, image type, file size.
      - Click "Process images"
        - with "Existing covers will be replaced" checked
        - with "Existing covers will be replaced" unchecked

  When the upload process completes you should see information about the
  title in the page heading and a thumbnail of the cover in the sidebar.
  - Test that the image can be deleted from this page. You should be
    redirected back to this page with the same title still selected.

- Upload a zip file of images
  - Test dragging an image from a file on your computer
  - Test clicking the "Drop files here or click..." link.
    - A zip file can't be previewed onscreen but you should see the same
      file information and a Font Awesome "zip file" icon.
      - Click "Process images"

From the bibliographic detail page, click the "Images" tab, and click
"Upload." With this workflow the field asking for a biblionumber should
not appear.

From the bibliographic detail page, in the holdings table, choose Edit
-> Upload image. This process should be the same as above but should
provide item information on the screen. Confirm that images are uploaded
correctly to the specific item.

Test with AllowMultipleCovers enabled and disabled to confirm that the
"Existing covers will be replaced" checkbox is enabled only when
multiple covers are possible.

Signed-off-by: Solène Desvaux <solene.desvaux@biblibre.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-03-01 22:47:46 -10:00
..
acqui Bug 29570: Enable sorting orders by summary 2022-02-14 21:41:38 -10:00
admin Bug 20689: (follow-up) Make it possible to add capital letter subfields to item search fields 2022-03-01 22:47:46 -10:00
authorities Bug 29965: (follow-up) Use a new class for the preview 2022-02-23 22:05:33 -10:00
basket
batch Bug 29244: Add dialog class where missing in print-notices.tt 2021-10-21 12:24:04 +02:00
catalogue Bug 25616: (follow-up) Use uppercase in advanced search booleans 2022-02-24 14:35:36 -10:00
cataloguing Bug 29962: (bug 27526 follow-up): Fix columns button on item list 2022-02-21 15:15:47 -10:00
circ Bug 29760: (follow-up) Fix class name 2022-02-22 22:27:28 -10:00
clubs Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
common
course_reserves
errors
ill Bug 29514: Remove extraneous HTML entity from breadcrumbs 2021-12-01 21:38:12 -10:00
installer Bug 27823: List upcoming steps during installation process 2021-11-03 15:40:52 +01:00
labels Bug 29824: Allow editing of quick spine labels 2022-02-24 14:35:36 -10:00
mana
members Bug 30090: Don't export some columns in patron search results 2022-02-16 21:52:51 -10:00
offline_circ
onboarding Bug 28982: Use Flatpickr on onboarding pages 2021-11-03 15:40:53 +01:00
patron_lists Bug 16446: (follow-up) Fix translation and adjust radio buttons 2021-10-21 12:24:04 +02:00
patroncards Bug 28576: Update the maximum size of an image. 2022-02-14 21:41:38 -10:00
plugins
pos Bug 27801: Fix javascript price calculations 2021-12-15 12:15:00 -10:00
reports Bug 29876: (follow-up) Change "Report number" to "Report ID" 2022-02-22 22:27:29 -10:00
reserve Bug 29660: Remove biblioitem loop from request.pl 2022-02-22 22:27:29 -10:00
reviews
rotating_collections
serials Bug 26257: Move translatable strings out of subscription-add.tt and into subscription-add.js 2022-02-14 21:41:38 -10:00
services Bug 29496: (bug 27526 follow-up) Fix item form validation 2021-11-19 15:07:10 +01:00
suggestion Bug 24370: (QA follow-up) Make new suggestions default to the library you re viewing 2021-11-02 14:57:04 +01:00
tags Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
test
tools Bug 25025: Drag-and-drop cover image upload 2022-03-01 22:47:46 -10:00
virtualshelves Bug 29542: Prevent access to private list to non authorized users 2022-02-02 21:05:29 -10:00
about.tt Bug 29960: Remove Modernizr dependency in the OPAC 2022-02-16 21:52:51 -10:00
auth.tt Bug 29487: Set autocomplete off for userid/password fields at login 2021-12-01 21:57:36 -10:00
intranet-main.tt Bug 29571: Display all pending suggestions even if none from logged in library 2022-01-03 20:58:36 -10:00