Ticket #337 (closed Feature Request: fixed)
validation -> upload -> min width/height
| Reported by: | nrm | Owned by: | - No owner - |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.1 |
| Component: | Libraries:Validation | Version: | SVN HEAD |
| Keywords: | Cc: |
Description
upload method have
// Maximum image size, eg: 200x100
list($maxsize['width'], $maxsize['height']) = explode('x', $param);
and what about minimum image size, if we don't want small photos? i have some gallery sites and i know that users often upload too small pictures (ex. thumbnails, from cellphones etc.) when we need more then ex. 800x600. It would be very helpfull option to set minimum and maximum size of uploaded picture.
Change History
Note: See
TracTickets for help on using
tickets.
