javascript - FineUploader S3 - Process original + scaled images as group in uploadSuccess endpoint -
i'm using new fineuploaders3 scaling functionality, have question how handle these (separate upload) results group in uploadsuccess endpoint. after every (scaled) upload of same file endpoint gets "called"
i know it's possible set parameters in uploadsuccess.params like:
uploadsuccess: { endpoint: "s3sign.php?success", params: {groupname:"aperfectgroupname"} },
but there problem when new upload starts. these same groupname @ uploadsuccess. can't change via
$('#element').fineuploaders3('setuploadsuccessparams', {groupname:"abettergroupname"});
callbacks (oncomplete, onvalidate, ...) because change pending uploads.
specify id of file want target additional parameter:
$('#element').fineuploaders3('setuploadsuccessparams', {groupname:"abettergroupname"}, fileid);
this limit parameter specific file, , can invoke in callback handler. documented in setuploadsuccessparams section of docs site.
Comments
Post a Comment