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

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

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,327 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot