• Hello !
    I would like my users to upload images with a custom cropping ratio.

    In field type / Image Upload we only have 3 options (no cropping / square 1:1 / user defined).

    the best way to do it would be to add a fourth option with my custom ratio (1.91:1)

    A dirty way would be to change the ratio of the SQUARE option. I went to ultimate-member/includes/core/class-fields.php and changed $array['ratio'] = 1.0; to =1.91;
    But it does not work ?? It does not change the ratio of the cropper-dragger

    Maybe something to change in Javascript ? /plugins/ultimate-member/assets/js/um-crop.min.js

    Any Help please ?

    • This topic was modified 4 years, 6 months ago by whirlywhirly.
  • The topic ‘Custom cropping Ratio in Field Type / Image Upload’ is closed to new replies.