1. kalayourlife
  2. Support
  3. Tuesday, February 20 2018, 11:53 AM
Dear Support,

I need to turn off the crop feature as we are uploading logos and every logo has a different aspect ratio - how can this be achieved? It would also be helpful which files handle the cropping / upload process

Best
kala
admin Accepted Answer
Admin
Hi,
sorry this is not possible natively with Easy Profile. Do to this you need to make some changes:
- in file at /administrator/components/com_jsn/helpers/fields/image.php at line 181 and at line 191 you need to change from
$foo->image_ratio_crop = true
to
$foo->image_ratio_crop = false


Now with normal upload (no crop/webcam or something else) the parameter height/width will work as max-height/max-width
  1. more than a month ago
  2. Support
  3. # 1
kalayourlife Accepted Answer
Pro
Great - thank you, worked!
  1. more than a month ago
  2. Support
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.