Is it possible to have set image resizing through the Replicator? I tried the following but it breaks after upload. I'm wondering if my placement of the "resize" and values is wrong?

  my_replicator_field:
    type: replicator
    instructions: |
      Replicate a new set for each piece of content you need.

    sets:

      content_set:
        display: Content
        fields:
          text:
            display: Text
            type: markitup
            image_dir: assets/img/

      image_set:
        display: Image
        fields:
          photo:
            type: file
            allowed: [png, jpg, gif]
            destination: assets/img/
            resize:
              width: 500
              height: 300
              quality: 60
              upsize: false
          caption:
            type: text
            instructions: Describe the photo