Koha/tools
The Minh Luong 327be4a704 Bug 28576: Update the maximum size of an image.
This patch modifies the maximum size of a patron's image, from 500KB to
2MB. Also, in Home/Patrons/anyPatron, when you try to add an image to a
patron, you can now see the supported file types AND the maximum size.

The following places are affected by this patch:
- Home/Patrons/anyPatron
- Home/Tools/Upload patron images
- Home/Tools/Patron card creator/Images

To test:
1)Search for any patron and go to his page.
2)Hover over the image area on the left and click on the "Add" button.
3)Notice that the message above the choose file button only specifies
file types without the maximum size.
4)Add an image bigger than 500KB.
5)Nothing happens. (This is because the maximum size is 5KB)
6)Apply the patch.
7)Repeat steps from 1 to 3.
8)Notice that the message now includes the maximum size.
9)Add an image bigger than 500KB, but smaller than 2MB.
10)The image is succesfully uploaded.
11)Add an image bigger than 2MB.
12)Nothing happens. (The maximum size is now 2MB)
13)Repeat the steps 9 to 12 in "Home/Tools/Upload patron images" and
"Home/Tools/Patron card creator/Images".
14)Notice that the maximum size is updated.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-02-14 21:41:38 -10:00
..
csv-profiles
access_files.pl
additional-contents.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
ajax-inventory.pl
automatic_item_modification_by_age.pl
background-job-progress.pl
batch_delete_records.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
batch_extend_due_dates.pl
batch_record_modification.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
batch_records_ajax.pl
batchMod.pl
cleanborrowers.pl Bug 29843: Use in tools/cleanborrowers.pl 2022-02-10 14:44:23 -10:00
copy-holidays.pl
csv-profiles.pl
exceptionHolidays.pl
export.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
holidays.pl
import_borrowers.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
inventory.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
letter.pl
manage-marc-import.pl
marc_modification_templates.pl
modborrowers.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
newHolidays.pl
overduerules.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
picture-upload.pl Bug 28576: Update the maximum size of an image. 2022-02-14 21:41:38 -10:00
problem-reports.pl
quotes-upload.pl
quotes.pl
scheduler.pl
showdiffmarc.pl
stage-marc-import.pl
stockrotation.pl Bug 29809: (follow-up) Update tests and rename variable 2022-01-31 21:55:40 -10:00
tools-home.pl
upload-cover-image.pl
upload-file.pl
upload.pl
viewlog.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00