Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2022 10:53 AM
Could this be modified to restrict the file attachment size to less than 100kb and only to png or jpg?
I'd like this on a client side script so that before user clicks submit it would check the file attachment for both size and extension.
The attachment variable of max_file_size seems to be restricted to mbs so the lowest is 1mb.
Thank you