Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira API cropping properties

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?

0 answers

Suggest an answer

Log in or Sign up to answer

Community Events

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

Events near you