Custom cropping Ratio in Field Type / Image Upload
-
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-draggerMaybe something to change in Javascript ? /plugins/ultimate-member/assets/js/um-crop.min.js
Any Help please ?
- The topic ‘Custom cropping Ratio in Field Type / Image Upload’ is closed to new replies.