Archived from the Transloadit support forum. Originally posted on December 6, 2011; details may be outdated, see our docs for current behavior. Original thread
Hi,
I need to store originals on s3 along with resizes. Sometimes I want to crop out a portion of an original I stored on s3. How can I “import” the file from s3 to transloadit to resize it and then store that resized copy as a new image on s3? I understand everything except what to feed to the resize bot in order to get the original.
The first would use the “/http/import” robot to which you feed your url. The second step would then be your resize stop using the “/image/resize” robot. Give it a “use” parameter that contains the name of the “import” step.
Let me know if that helps or if you need an example.
Just to clarify, for certain reasons I’m using a private repository. I think I can sign urls with the s3 sdk and submit that to override the url in the http/import step but it sure would be convenient to not do that. Is that a necessary work-around?
well we just access these files via CURL similar to how an external user would access them. So I am pretty sure you cannot get around the signing process.
In the future we might enhance the import robot so that it can do the signing for you. But currently he can’t do it. : /