I'm trying to understand what does "cropping properties" in "create_temp_user_avatar" method mean. I'm trying to set user avatar using custom image. I need my image to be as centralized as possible. For example if it's a square image I want it to be maximum sized, if width is bigger than height I want it to be maximum height and centralized, if height is bigger than width I want it to be maximum width and centralized. But I'm very confused with "cropperOffsetX" "cropperOffsetY" and "cropperWidth" parameters. How do they depend on width and height of my image if I want it to be centralized?
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events