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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

989 views 23 13
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