Archived from the Transloadit support forum. Originally posted on February 12, 2014; details may be outdated, see our docs for current behavior. Original thread
I’ve got many templates currently working in the wild but am getting crushed on bandwidth at the far end of my routes. From what I see, I should be washing my resizes through the optimize robot as a second step. I can’t seem to figure out how to use the robots/resize step as the precursor for my robots/optimize following step. Any pointers would be greatly appreciated! The documentation does not provide a clear example for utilizing multiple robots in conjunction.
I’ve pasted two of my assemblies below.
"profileTemplate": { "profile.png": { "background": "none", "use": [":original"], "robot": "/image/resize", "width": 90, "height": 90, "resize_strategy": "crop", "strip": true, "format": "png" }, "[email blocked]": { "background": "none", "use": [":original"], "robot": "/image/resize", "width": 180, "height": 180, "resize_strategy": "crop", "strip": true, "format": "png" } }
Again, many thanks!