Multiple Image Steps

Justin's Avatar

Justin

18 Jul, 2014 11:31 PM

Hi,

With one of my templates, I'd like to have multiple steps to resize the image to multiple sizes.

{
  "steps": {
    "large": {
      "robot": "/image/resize",
      "use": ":original",
     "resize_strategy": "fit",
     "format": "png",
     "width": 750,
     "height": 750
   },
   "small_thumb": {
     "robot": "/image/resize",
     "use": ":original",
     "resize_strategy": "crop",
     "format": "png",
     "width": 50,
     "height": 50
   },
   "export": {
     "robot": "/s3/store",
     "use": [
       ":original",
       "large",
       "small_thumb"
     ],
     "key": "<my-key>",
     "secret": "<my-secret>",
     "bucket": "my-bucket-name",
     "path": "updates/${assembly.id}/${file.url_name}"
   }
 }
}

with this configuration, Since both of the resizes are being saved by their file_name plus the new format of png, only the latter is being saved, because of overwrite. I've tried to add the path to the actual step (inside large and small_thumb), but that didn't seem to work. What is a good solution around this problem??

Thanks for your time.

  1. Support Staff 1 Posted by Kevin van Zonne... on 25 Sep, 2015 01:16 PM

    Kevin van Zonneveld's Avatar

    Hi,

    We're writing you to let you know that at least one message of yours in this
    thread has been flagged as spam by our support software.

    We failed to adequately monitor this, which is why you have not
    gotten the support that you deserve.

    We, the founders of Transloadit are very sorry for this and
    besides this apology, would like to offer you assistance with
    this thread if it is still required.

    More information can be found on our blog:
    https://transloadit.com/blog/2015/09/support-fail

    We realize we're extremely late with this offer, but please let us know
    if we can still help you with this ticket.

    Kind regards,

    Tim & Kevin
    Transloadit's Founders

  2. Support Staff 2 Posted by Tim Koschützki on 26 Oct, 2015 05:01 AM

    Tim Koschützki's Avatar

    This discussion has been inactive for 30 days and has been marked as resolved automatically.
    Feel free to reply to this ticket to re-open it and we will continue the investigation.

    Kind regards,
    Tim

    Co-Founder Transloadit

  3. Tim Koschützki closed this discussion on 26 Oct, 2015 05:01 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

20 Nov, 2016 02:52 AM
29 Oct, 2015 05:01 AM
27 Oct, 2015 05:01 AM
27 Oct, 2015 05:01 AM
26 Oct, 2015 05:03 AM

 

26 Oct, 2015 05:02 AM
26 Oct, 2015 05:02 AM
26 Oct, 2015 05:02 AM
26 Oct, 2015 05:02 AM
26 Oct, 2015 05:02 AM
26 Oct, 2015 05:01 AM