Does this plugin supports validation for image file size?
See original GitHub issueHow can you use vuelidate with image uploading validation? Currently I’m uploading the image and pass it to the API using base64. Is there I way when I upload image it will validate that the image file size cannot be higher than 5mb?

currently I only handle the required field.
import { required } from 'vuelidate/lib/validators';
validations: {
profileImage: { required }
}
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Image validate size - FilePond - PQINA
Property Default value Description
allowImageValidateSize true Enable or disable image size validation. |
imageValidateSizeMinWidth 1 The minimum image width. |
imageValidateSizeMaxWidth 65535 The maximum image width....
Read more >How to validate review image size on single product page?
It turns out the plugin does server-side validation of image size/quantity and no client-side validation. I have used jQuery to implement validation ...
Read more >Validate image filetype/filesize, crop, resize & then upload
I'm looking for a client side solution to validate whether the image being uploaded is of accepted file type, ...
Read more >filepond-plugin-image-validate-size - npm
Image Size Validation Plugin for FilePond. Latest version: 1.2.7, last published: 10 months ago.
Read more >file validator - FormValidation
The following form allows to upload JPEG, PNG image which is smaller than 2 MB in size. Use the promise validator if you...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
What about something like this
With reference to the above code, I adapted to my requirement. The validation:
The template:
The component: