1. thomas-frankie-marshall
  2. General
  3. Wednesday, December 23 2015, 09:20 PM
SIZING:
Wondering if I can set the avatar size so that it keeps its aspect ratio with a max height? Many of my users upload avatars where the width is greater than the height. I'd like to keep the height max at 80px.
I've set 'j!/admin/components/com_jsn/helpers/fields/image.php' line 151 '$foo->image_ratio = true;' and I've tried using the Admin>JSN>Avatar Options Image Field to make the changes but the aspect doesn't keep.
FORMAT:
Is '$foo->image_convert = 'jpg';' required? I've commented it out and it breaks the images.

Thank you!
admin Accepted Answer
Admin
Hi,
Sizing
try to read here: https://www.easy-profile.com/support/registration-avatar-image-crop-issue.html#reply-6876

Format
Yes this is required, in Basic & Pro version we use PNG format to keep transparency.
  1. more than a month ago
  2. General
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.