Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Aleksandr Karev December 11, 2018

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

0 votes
Answer accepted
Aleksandr Karev December 19, 2018

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.



Alis-Hathway Ward (DO NOT USE)
Contributor
September 13, 2019

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

0 votes
Rambabu Patina _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 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.

Aleksandr Karev December 11, 2018

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 (

Aleksandr Karev December 11, 2018

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!

Aleksandr Karev December 12, 2018

Anyway...


how to increase the size of thumbnail?

Suggest an answer

Log in or Sign up to answer