Apply a watermark to an image and store everything over SFTP
The demo below resizes and watermarks incoming images and stores both the watermarked versions and the original files on your server via SFTP.
Since this is a store robot, make sure to use templates! Templates are encrypted on our server, so you can safely provide your server username as opposed to showing it in your form's HTML code.
To run this demo, please upload images below.
Warning It seems your browser does not send the referer, which we need
to stop people from (ab)using our demos in other websites.
If you want to use the demos, please allow your browser to send its referer to us.
Adding us to the whitelist of blockers usually helps.
This demo uses:
/image/resize robot, which resizes, crops, changes colorization, rotation, and applies text and watermarks to images
/sftp/store robot, which exports encoding results to your own SFTP server
that can be integrated directly into your website.
and you are welcome to give that a shot, but for now, the following example uses our
and it is still the recommended way to integrate Transloadit into web browsers.
So many ways to integrate
Transloadit's versatility not only shines through in our diverse encoding features,
but also in the ways that you can integrate with those.
Would you like to handle your own file uploads? Or do you have a big library of files ready to be encoded?
You leverage Transloadit's highly scalable encoding platform
by letting us import from your source or post files directly from your server using a backend language.
We have kits available for most platforms.
If there's no kit available for your platform, you can integrate with our REST API.
Perhaps you want Transloadit to also handle uploads? In this case take a look at our HTML
Notifying your server
Transloadit will then accept the upload on behalf of your site, process all the files
according to your instructions and export to your storage platform of choice. Your visitor will now be able to upload links to the results
(example) to your website's /uploads URL.
This takes the pressure off your platform, and ensures the user will have a smooth experience.
Typically, it is advisable to save a record of the result in your database, so you will need to inspect the transloadit
POST payload that was sent to your /uploads, or Notification URL. In PHP, that would look
This demo uses :original, which indicates a user upload that was received by Transloadit.
So, for this SDK, you will likely want to add one of our import Robots and use their downloads instead.
Instead of sending encoding instructions directly to Transloadit, you can also save them in
a secured way as a "Template". You can then refer to the template_id in your
requests, making sure that secrets and instructions no longer have to be transmitted, which might be
a security risk in many cases.
Here is the 'raw' Template, in case you would like to save these instructions safely in your account.
Try it out
Starting upload ...
Transloadit is a service for companies with developers. Visitors
are welcome to do one-off media conversions but unfortunately we
cannot provide support for that, sorry!