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

How to change a size of thumbnails of JIRA attachments on an issue view screen in JIRA

Hi!
I'd like to encrese a size of thumbnails of JIRA attachments on an issue view screen in JIRA.
According to the article
https://confluence.atlassian.com/adminjiraserver073/configuring-file-attachments-861253987.html I'd changed two parametes
jira.thumbnail.maxwidth = 300
jira.thumbnail.maxheight = 300
in jira-config.properties. 200px it is default value.
I see that these parameters was applyed in JIRA System info screen and noticed that a size of thumbnails files got bigger in JIRA Attachments folder. In an image viewer its size fits to the new volue. But on a issue view screen it is still shown in old size(200x200). I cleared a cache of a browser and checked out this on the different browser - but size wasn't changed.

How to encrese a size of thumbnails?

2 answers

1 accepted

After investigation this question I came up to next results:

1) It is impossible to increase an attachment thumbnail in Attachment panel.
There was raised a Bug ticket:
    https://jira.atlassian.com/browse/JSWSERVER-19788 "Thumbnail size in Jira cannot be bigger than 200x200px"

Please vote for it to fix this behaviour.

2) There is another way how is used
parameters jira.thumbnail.maxwidth and jira.thumbnail.maxheight in jira-config.properties file.
It is used to set a size of thubnail from attachment files which is inserted to description field.

So, in the description field of task those perameters work very well. A thumbnail changes its size which is set in the jira-config.properties file.



Does that affect the thumbnail size in the attachments section too? Or only those attached to comments?

0 votes
Rambabu Patina Community Leader Dec 11, 2018

Hi @Aleksandr Karev,

Have you deleted the all existing thumbnail images in the attachments directory (that is, those containing '_thumb_' in the filename) and restart Jira. Please check if that is the case.

Thanks,
Ram.

Hi!
Yeah! I deleted and restarted JIRA. I see that the size of thumbs file is changed and got bigger and it looks bigger on image viewer but on JIRA sreen it still have small size (

Hi!
I've made some investigation about this strange behaviour JIRA and I got a surprise result:
Size of thumbnails could be only decrease.
For example I set:
ira.thumbnail.maxwidth = 100
jira.thumbnail.maxheight = 100
and successfully got a small thumbnail.

Ha!

Like Rambabu Patina likes this

Anyway...


how to increase the size of thumbnail?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

342 views 1 3
Join discussion

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