Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,459,990
Community Members
 
Community Events
176
Community Groups

How to remove empty space from above and below a picture

Hi - I'm currently trying to upload a rectangular picture and the editor shows a lot of wasted space above and below the picture itself. If I preview the page it will still show the same empty space.

Picture is 1362x275 therefore is definitely rectangular and it doesn't carry all that empty space

Screenshot 2022-02-01 at 10.32.34.png

5 answers

Also seeing this issue. I think that when you start with a larger screenshot on OSX and crop a smaller image out of it with "Preview" then it retains some sort of pre-crop image size when it is saved as png (the default). Probably some incompatibility between OSX png output and what Confluence accepts as png.

Workaround

When I resave the cropped image into JPEG format via "Preview" -> "File" -> "Export" -> "Format": JPEG and then the uploaded images into Confluence the uploaded image matches my local file's aspect ratio / size.

I have the same issue. I'm on a Mac, Monterey.

I capture a screenshot by hitting Cmd + Shift + 4 which allows me to draw a rectangular selection area. Then I right click on the preview thumbnail and select Copy to Clipboard. Then I paste that selection into Jira. A small version of my image is added to the window. If I resize the image before saving the comment/description there's no problem.

But if I save with a small thumbnail and resize later, the whitespace is added above and below.

It may be that you're uploading a .png to your page, try using a .jpg file instead. I found that this solved the problem for me.

0 votes

I've got the same issue on my Mac. Converting the PNG to a JPG is not an acceptable solution. PNGs and JPGs might seem the same, but they are used for 2 very different use cases. This bug needs to be fixed by Atlassian.

0 votes
Pramodh M Community Leader Feb 01, 2022

Hi @matteogalli 

The Space it takes is the image's complete resolution, in your case which may be including white spaces apart from the actual image in the center

Here are screenshots from my instance 

Images.png

Include only the Image without white spaces

Let me know if you have any query

Thanks

Hi - thanks for your answer but unfortunately I don't understand what you mean. The picture is a rectangle 1362 by 275. No empty white space in the picture itself, it's just Confluence adding it.

Screenshot 2022-01-31 at 21.01.42.png

 

This is the picture I'm adding, the previous screenshot is a screenshot of how the editor is placing it

@matteogalli I'm seeing the same thing, lots of white space padding above and below images. I did find that dragging an image file in creates much less space than importing using the Files & Images button. Hope that helps.

seeing same issue, very frustrating!

I've been dealing with the same issue for over a year now. Would be great to see this fixed. It's very annoying to waste time trying to format the page by deleting and re-inserting images over and over until it mysteriously works. What a productivity killer. Please update us when this is resolved, Atlassian team!

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events