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

This widget could not be displayed.

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

This widget could not be displayed.

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
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

348 views 2 5
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