FAQ

1. How can I make sure my users do not upload files that are bigger than a specific size?

You can use the max_size parameter. Please check the authentication page for more details. The file size is checked as soon as the upload is started. If it is too big the upload is canceled.

2. When I enter my S3 credentials, are they safe?

Yes, if you use templates. We store templates encrypted on our servers and on your upload form users can only see the id of the template you are using. If you, on the other hand, add your file instructions directly in the hidden form parameter params, then the instructions are completely visible, including your access credentials! We highly recommend the use of templates in case you use any of the store robots.

3. Can I have my own upload progress bar?

Yes, of course! You need to use our jQuery plugin. It has a lot of callbacks for any stage of the upload and reports the bytes it received so far and how many it expects. You can build really smooth progress bars with that and even display the upload speed.

4. Can I create an upload form that allows a user to upload any file type, and then use your service to process it based on filetype?

Yes, this is possible. All Transloadit robots will simply ignore files that they can't handle. So you just need to setup 2 steps that have "use": ":original" with different robots, and the files will be automatically routed to them based on the file type. So, for example, if an image file is uploaded, it is resized and stored, if it is a video file, it is encoded, thumbnails extracted and stored. If it is a word document or spreadsheet it is just stored.

5. Which formats and codecs does Transloadit support?

We support well over 100 image formats and the most important video and audio formats and codecs. Please check out our dedicated formats & codecs page.

6. What if my users upload videos although I only use the /image/resize robot?

Our robots are smart enough to detect if they can process incoming files. Our robots will ignore any files they can't handle. In the case of a user uploading videos when you only expect images, the /image/resize robot will not handle them.

7. How can I limit the output duration of my videos?

We allow you to pass your own ffmpeg parameters to your /video/encode steps. You can just use ffmpeg's -t parameter to limit a video to, say, 4 minutes: "ffmpeg": { "t": 240 }

8. How can I test notifications in a dev environment?

We ping you at the specified notify_url when your assemblies are finished. If you are in a development environment behind a firewall, you need to use a dyndns service and add port-forwarding to your router so that we can ping you on your computer.

If there are multiple developers in your workspace, they each need to supply a different notify_url. You can overwrite the notify_url specified in your template by passing your new one using your form's hidden params input field.

Further reading: Passing variables into a template (bottom part of the page)

Comments