Setting the thumbnail size of an image

It seems that atlassian an we have different ideas of "large" images.

As far as I read through the documentation and comments I understand that if I choose "small" and "medium" image preview from the image-macro, the thumbnail image file is used for display. If I choose the "large" version the original file is used and displayed - just resized on the client side.

We need to set the size of the thumbnail - so that even the "large" preview use the thumbnail !?

The point is we have lots of images with a resolution of 4-7k ( 4000-7000px ). Minimum resolution is 2k. And a 500px preview is not large anymore...!

And when I am thinking of "mobile" devices two diffrent thumbnail-preview sizes would be best. But I understand that this is a wish to be wished somewhere else....

2 answers

Hello Raketen,

Unfortunately this is not easy as modifying a parameter. You'll need to customize Confluence Source Code to achieve this. You'll need to edit the package com.atlassian.core.util.thumbnail, and some more to achieve the desired.

Or you'll need to modify the js and css, which is something that I would be lacking to give you, someone with more expertise should help you.

Cheers,

Guilherme

i am new at image thumbnail. so can you show some tutorials for me. so that i can learn how to cusotmize and make my own thumbnail. beside any methdo on image processing would be appreciated.

thank you in advanced

Lily

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

385 views 21 10
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