html - FileUploader accept="image/*" validation problem -
i added accept="image/*" attribute file uploader <input type="file" name="imageuploader">.
i select image file in uploader. , try send data server. imageuploader set error , add class="input-validation-error".
why happens?
you should try specifying type in php imageuploader , if still have problems, add each image type seperately e.g.
== "image/jpeg" or "image/png" or "image/gif"
Comments
Post a Comment