Images crop / zoom not working properly


I try to update some structure and when I pass this :

"color_thumbnail": {
        "origin": {
          "id": "YBplIBEAACEAlEsl",
          "url": "",
          "width": 6000,
          "height": 4000
        "width": 100,
        "height": 100,
        "url": ",format&rect=2984,2420,1333,1333&w=100&h=100",
        "edit": {
          "background": "#fff",
          "zoom": 0.07500000000000001,
          "crop": { "x": -223, "y": -181 }
        "credits": null,
        "alt": null,
        "provider": "imgix",
        "thumbnails": {}

The image after the script update is,format&rect=1000,0,4000,4000&w=100&h=100

The rect is completely lost in the process... Is it a bug or I miss something ?

Thank you.

Hey there, thanks for reaching out.

I'm not sure why this is happening. Can you send me the entire Import file and the JSON of your Custom Type so I can reproduce this on our end?

Of course ! (16.2 KB)

Ok I can see what's happening now. You can get the rect= crop parameter only with constraint applied on the Custom Type builder and then through the image field cropping modal. That's why you cannot update it.

if you still wanna update these parameters outside of the repository you'll need to edit the URL from your project code.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.