fine uploader - How to set content-length-range in FineUploader S3? -
when content-length-range
set validation, results in files greater size not being able added uploader @ all:
validation: { sizelimit: 1048576 },
how can set content-length-range
without other bells/whistles?
the simplest solution leave validation.sizelimit
option alone in case , set properly formatted content-length-range
parameter via request.params
option. fine uploader s3 include these params in policy document (if policy document used). option maintain 2 separate fine uploader instances. 1 instance accepts files user w/out validation
. instance used scale images, passed "main" fine uploader s3 instance via addfiles
api method. "main" instance has validation
set.
Comments
Post a Comment