Rank: Member
Groups: Member
Joined: 10/23/2009(UTC) Posts: 26
Thanks: 3 times
|
Using just JS, no server controls. The following code works fine: Quote:… converters: [ { mode: '*=SourceFile' } ] …
as3.converters([{ acl: 'public-read', key: 'FilesWithThumbnails/thumbnails/${filename}', policy: 'XXX', signature: 'XXXX', storageClass: 'REDUCED_REDUNDANCY', cacheControl: 'no-cache', expires: '0' }
When I change converter to Thumbnail mode Quote:converters: [ { mode: '*.*=Thumbnail', thumbnailFitMode: 'Crop', thumbnailHeight: 100, thumbnailWidth: 100 } ] The S3 returns "POST requires exactly one file upload per request." error, and I can see that there is no file being posted to S3 (but all the headers are there). What am I missing? Thanks Edited by user Tuesday, January 17, 2017 5:49:19 AM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Member
Groups: Member
Joined: 4/12/2016(UTC) Posts: 12
Was thanked: 3 time(s) in 3 post(s)
|
Maybe, you are uploading, not an image file? If a file can't be converted, nothing will be sent. Try this, Quote:converters: [ { mode: '*=Thumbnail;SourceFile', thumbnailFitMode: 'Crop', thumbnailHeight: 100, thumbnailWidth: 100 } ]
|
|
|
|
Rank: Member
Groups: Member
Joined: 10/23/2009(UTC) Posts: 26
Thanks: 3 times
|
It's an image, I even tried different images - same result. Your suggestion produced the same failed result.
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration Joined: 8/2/2003(UTC) Posts: 876
Thanks: 2 times Was thanked: 27 time(s) in 27 post(s)
|
Please submit a support ticket (https://www.aurigma.com/account/cases/add) and send the following information:
1. An example of the file you tried. 2. What is the browser. 3. A link to the page where we can reproduce the problem. If it is not available, at least please send a full JavaScript with the uploader-related code. 4. Also, if there is no link, it may help if you send a POST request body (from the Network tab of the Developer Tools or Fiddler).
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.