How to remove empty space from above and below a picture
Asked by matteogalli:

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](https://community.atlassian.com/t5/image/serverpage/image-id/180939iBA9DE5F0211E666F/image-size/large?v=v2&px=999 "Screenshot 2022-02-01 at 10.32.34.png")


Answers:
author: Andy Matthews
body: 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.


author: George Lee
body: 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.


author: Mike Robb
body: 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.


author: Tom Sesselmann
body: 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.


author: Pramodh M
body: Hi [@matteogalli](/t5/user/viewprofilepage/user-id/4718196)

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](https://community.atlassian.com/t5/image/serverpage/image-id/180940i283182E92F0066D5/image-size/large?v=v2&px=999 "Images.png")

Include only the Image without white spaces

Let me know if you have any query

Thanks

comments: author: matteogalli
body: 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.


author: matteogalli
body: ![Screenshot 2022-01-31 at 21.01.42.png](https://community.atlassian.com/t5/image/serverpage/image-id/180952i303A40570B67AC25/image-size/large?v=v2&px=999 "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


author: Rick Umenhofer
body: [@matteogalli](/t5/user/viewprofilepage/user-id/4718196) 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.


author: Stephen Short
body: seeing same issue, very frustrating!


author: Allyson Francis
body: 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!


Tags: cloud

confluence-cloud