Archived from the Transloadit support forum. Originally posted on March 6, 2011; details may be outdated, see our docs for current behavior. Original thread
Thinking about using Transloadit for a node.js app I’m working on. Is there currently a node client we can use?
Thinking about using Transloadit for a node.js app I’m working on. Is there currently a node client we can use?
No, we don’t have a node client yet. That’s because the node community is still tiny compared to other plattforms, but we’re still a little embarrassed about it : /.
Anyway, are you planning on uploading files directly from your server, or just from the browser? Doing a client-side implementation will be pretty trivial, even without a library.
We are wanting to do things server side. Initially we have 1000+ images we need thumbnailed. This would be a one time batch mode effort. Once caught up we would continue to do thumbnailing through the server, but on an as needed basis (prolly 100 week).
I can put something together in node to do this for us. Just wanted to see if you had something behind the scenes.
Is there a special flag to use when processing a large number of thumbnails at the same time? Or do we make each request the same as the examples?
I can put something together in node to do this for us. Just wanted to see if you had something behind the scenes.
We use curl for our own test suite, and I would probably recommend you to wrap curl for your needs as well. Unfortunately our code is part of the test suite, and can’t really be used as a basis for your needs.
Is there a special flag to use when processing a large number of thumbnails at the same time? Or do we make each request the same as the examples?
Nope, you can make one request per thumbnail, or combine some / all thumbnails into a single upload. You might want to split them up into batches of 10 however, just in case there is a failure of some sorts in between.