[Koha-bugs] [Bug 28576] Add patron image in patron detail section does not specify image size limit

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Jun 20 13:41:31 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28576

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #122048|0                           |1
        is obsolete|                            |

--- Comment #2 from David Nind <david at davidnind.com> ---
Created attachment 122192
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=122192&action=edit
Bug 28576: Add patron image in patron detail section does not specify image
size limit

When you try to add an image to a patron in Home/Patrons/anyPatron, it only
states the file types that are supported but not the maximum size. If you try
to add an image that is bigger than 500 kb, nothing happens and the reason is
not presented.

This is not the case with the 2 other places where we can add patron images in
which they give warnings:
Home/Tools/Upload patron images
Home/Tools/Patron card creator/Images

For now, i simply added the size limit to the file supported message.

To test:
1)Search for any patron and go to his page
2)Hover over the image area on the left and click on add
3)Notice the message above the choose file button only specifies file types not
size.
4)Add an image bigger than 500 kb
5)Nothing happens
6)Apply patch
7)Repeat steps from 1 to 3
8)Notice the message now includes the maximum size

Signed-off-by: David Nind <david at davidnind.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list