Upload widget crop not working in Safari



  • Avatar
    Tamara Yulevich

    Hi there,

    To crop in the upload widget, you'll need to either use the c_crop,g_custom transformation on the resource that was uploaded or include that as part of the incoming transformation. More details on how to do that can be found here:

    If that one doesn't work, could you please share the original image and the cropped version in an internal ticket here so we can give you a more detailed answer?



    Comment actions Permalink
  • Avatar
    Towny Marketing

    Hi. I used that article to set everything up :) The problem is in the widget UI. Safari is showing a rectangular crop guide and it should be square. 

    Here are the options for openUploadWidget()

    cloudName: '<removed>',
    uploadPreset: '<removed>',
    sources: ['local', 'facebook', 'google_drive'],
    facebookAppId: '<removed>',
    secure: true,
    multiple: false,
    cropping: true,
    croppingAspectRatio: 1,
    showSkipCropButton: false,
    resourceType: 'image',
    clientAllowedFormats: ['jpg', 'gif', 'png'],
    minImageWidth: 300,
    minImageHeight: 300,
    croppingValidateDimensions: true
    Comment actions Permalink
  • Avatar
    Danny Valentine


    My name is Danny and I work on Cloudinary's Customer Success team.

    I'm able to reproduce this behaviour using my own cloud and upload preset, so as far as I can see it's not a configuration issue on your side. I'm going to raise this with the Upload Widget development team to get their insights.

    Thanks for flagging this with us. We'll keep you updated as best we can.

    Best regards,

    Comment actions Permalink

Please sign in to leave a comment.