How to config JIRA display inline image/attach image in BEST FIT method?

I often take screenshot then paste/attach to issue/comment --> because the image is large, JIRA display it un-friendly.

How to config JIRA display inline image/attach image in BEST FIT method? (as same as paste large image into gmail)display image best fit.png

2 answers

1 accepted

This widget could not be displayed.

Hi Ngueyn,

To the best of my knowledge there is not a means to automatically do this in Jira, as there appears to be in Gmail.

However you can adjust the way that image appears in a comment or description field in Jira without directly modifying the attachment itself.

Instead of using the thumbnail tag such as:

!filename.jpg|thumbnail!

You can use other parameters to determine the specific alignment, spacing, as well as the width and/or height of the image as it appears on the page in Jira.

 

To do this you could use a syntax such as:

!filename.jpg|width=400, height=300!

Of course if you specify both width and height this way, and the source image does not conform to the same aspect ratio, you will find that image will look very skewed.

Instead I would recommend just specifying the width, in my testing this seems like Jira is then automatically scaling the height value to keep it proportional, such as this:

!filename.jpg|width=400!

Of course you might want to use a different value than 400.  It really depends on the size of your screen, you other users screens, as well as the aspect ratio of the image itself.

Sorry there does not appear to be such as simple solution as a 'best fit' button for Jira at this time, but I hope that this work-around might help here.

Let me know what you think.

Andy

This widget could not be displayed.

Thank Andrew Heinzer. Your solution is useful but still not convenience and friendly as gmail. (set width size manually + not allow click on resized image to see full size image)

I still hope JIRA will support BEST FIT inline image in future (similar with paste large image in gmail)

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

83 views 1 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you