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
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
There are no replies made for this post yet. However, you are not allowed to reply to this post.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »