Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Resizing of image inside Rich Text Gadget

Hello,

Is it possible to insert an image that will resize inside the gadget depending on the available space?

Thanks

3 answers

1 accepted

0 votes
Answer accepted

Found it already: Use 100% x 100% in the image size.

However, I also found that any automatic update resets the gadget to an empty modify state and it stops working. You need to refresh the whole page to get it to work again.

Very buggy.

I'm not able to get 100% x 100% working. It shrinks a large image down to the width of the surrounding gadget when you're viewing it in editing, but as soon as you click Save, it bounces back to full size, and you need to use scrollbars to see the whole thing.

Am I missing something, or is this gadget just buggy?

Also, if this helps anyone else—the only way I have found for using images stored on Confluence is to save that image in a file list, then right click the filename and choose Copy Link Address. That will be an https: link ending in .png?api=v2, which will work. An image actually on a Confluence page is stored as a database blob, so right-clicking it and grabbing the link copies a url starting with blob: , which won't display in this gadget.

BTW, you might ask why I'm doing this on a Jira Dashboard vs. just doing in Confluence. Here's why—the Jira data I want to display intermittently (as in most of the time) doesn't display properly when the Jira gadget is in Confluence Cloud: https://jira.atlassian.com/browse/CONFCLOUD-70573 

Hey, just figured out the answer to my own question, and thought this might help someone else. While 100% in both fields didn't work, entering just 100% in the Width field only does (leave the number that it figured out based on the original image height in the Height field).

Alternately, click the Advanced tab and enter width: 100%; in the Style field.

With this approach, the image will scale based on the browser width as intended.

Suggest an answer

Log in or Sign up to answer
TAGS

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