[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
Tue Feb 8 17:05:57 CET 2022


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

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

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

--- Comment #19 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 130306
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130306&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>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: David Nind <david at davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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


More information about the Koha-bugs mailing list