Image Borders: Complete Guide
Learn how to add borders to images online: solid, Polaroid, and gradient glow frames, border size, corner radius, shadows, and colours.
Add a border to any image in minutes: upload, pick a style, set the size and colour, add a shadow, preview, and download a framed photo.
CompressMyPic Editorial Team · Published Nov 17, 2026 · 11 min read

Adding a border to a photo takes only a few minutes. You upload the image, pick a style, set the size and colour, and download the framed result.
This how-to walks through the whole process step by step. It covers solid, Polaroid, and gradient glow styles, corner radius, drop shadows, and the export settings that keep the frame looking right.
By the end you will be able to frame a photo for social media, a print, or a product listing on any device. Keep the original photo until you have checked the result.
Decide what the border is for before you open the tool. A social post needs a thin, clean frame, while a print needs a wider mat-style border.
Think about the colour as well. White is the safest choice, black adds drama, and a colour matched to the photo gives a designed feel.
Use the original photo, not a compressed copy. A border added to a sharp original looks clean, while one added to a soft copy looks rough at the edges.
Open the Image Border Generator in your browser. Everything runs locally, so your photo is never uploaded to a server.
The process is the same for every border style. Upload, choose the style, set the size and colour, check the preview, and download.
Take your time with the size and colour. Those two settings decide whether the border frames the photo or overwhelms it.
Open the downloaded file once before you share it. Confirm the border is even on all sides and the photo inside still looks good.
A solid border is a single colour band of even width. It is the simplest style, and it suits almost any photo, from portraits to product shots.
A Polaroid border mimics instant film, with a thicker band at the bottom for a caption. It feels nostalgic and casual, which suits holiday photos and memories.
A gradient glow frame blends colours around the image for a modern, digital look. It suits social graphics and posters, where the frame is part of the design.
Start with solid if you are unsure. It is the safest choice, and you can switch to a fancier style once you see how the photo looks framed.
Border size runs from 1 percent to 25 percent of the image. A thin border of 1 to 3 percent frames the photo without taking attention away from it.
A medium border of 5 to 10 percent creates a gallery feel. It gives the photo breathing room and suits prints, portfolios, and presentation slides.
A large border above 15 percent becomes a design statement. It suits posters and social graphics, where the frame is part of the look.
Remember that the border adds to the total size. A photo with a 10 percent border on each side is 20 percent wider and taller than the original.
White is the safest border colour. It suits any photo, works on any background, and gives the image a clean, gallery feel that never looks dated.
Black adds drama and focus. It suits moody photos, night shots, and fine art, where a light border would feel out of place.
Match the border to a colour in the photo for a designed look. A border that picks up the colour of a dress, a sky, or a product ties the frame to the image.
After clicking a quick preset, you can still change the frame colour. Presets are a starting point, not a lock, so adjust the colour to suit your photo.
Frame radius controls the roundness of the outer edge of the border, while photo radius controls the roundness of the inner edge where the border meets the photo.
Setting both to the same value gives a uniform rounded frame. The result is a clean, consistent curve that looks professional on cards and social posts.
For a simple square frame, keep both radii at zero. Sharp corners suit formal photos and product shots, where a rounded edge would feel out of place.
For a Polaroid style, keep the radii low. The classic instant film look has square corners, and rounding them too much breaks the retro feel.
A drop shadow adds a soft dark edge behind the framed image, which makes it look as though it is floating above the page. It adds depth and polish.
Shadows work best on light backgrounds, where the dark edge is visible. On a dark background, the shadow blends in and adds little to the image.
To keep the shadow, export as PNG or WebP. JPG has no transparency, so the shadow disappears in a JPG export and the result looks flat.
For a dark charcoal or pastel frame with no shadow, turn the shadow off and choose the colour directly. A clean frame without a shadow suits minimal designs.
The tool includes four quick frame presets, each of which sets the style, size, colour, and shadow in one click. They are a fast starting point for common looks.
Click through the presets to see which one suits your photo. The preview updates immediately, so you can compare the looks in seconds.
After clicking a preset, change any setting you like. The colour, the size, and the shadow are all adjustable, so the preset is a base, not a final answer.
For a consistent look across a set of photos, use the same preset for all of them. A batch of images with matching frames looks like a series.
Choose the Polaroid style in the border options. The tool applies the classic shape automatically, including the thicker band at the bottom.
The bottom band gives space for a caption. Add text there with the Add Text to Image tool after exporting, or leave it blank for a clean retro look.
Keep the corner radius low for a Polaroid frame. The classic instant film look has square corners, and rounding them too much breaks the effect.
Polaroid borders suit casual, personal photos best. They feel out of place on a formal portrait or a product shot, where a clean solid border is more appropriate.
Choose the gradient glow style and set the angle and colours. The glow blends two or more colours around the image, creating a soft, glowing edge.
Changing the angle moves the blend around the frame. The same colours can produce many different looks, so try a few angles and see which one suits the photo.
Gradient frames work well on dark photos, where the bright edge adds energy. They can overwhelm a light, airy photo, so use them when the image needs drama.
Keep the glow subtle for professional work. A soft gradient adds polish, while a harsh, bright glow distracts from the photo itself.
Always preview before downloading. Check that the border is even on all sides, that the corners look right, and that the colour suits the photo.
The preview shows a grey and white checkerboard around the frame. That pattern means transparency, not a grey background, and it shows where the image is see-through.
Check the shadow on a light background if you added one. A shadow that is invisible on a dark preview may be clear on the white page where the image will live.
If the border looks too thick or too thin, adjust the size and check again. A small change in percentage can make a big difference in how the frame feels.
Choose PNG when the frame has rounded corners or a drop shadow. PNG preserves transparency, so the corners stay see-through and the shadow survives.
Choose WebP when you want small files with transparency. It works well for web images, though a few older systems still reject the format.
Choose JPG only for a solid rectangular border with no shadow. JPG flattens everything onto a solid background, which is fine for a simple frame.
Remember that the quality slider hides for PNG, because PNG is lossless and has no quality setting to adjust. That is normal behaviour, not a problem with the tool.
The tool works on touchscreens, so you can frame a photo on the phone that took it. Upload from your gallery, pick a preset, and download the result.
Quick presets are the easiest route on a small screen. One tap sets the style, size, colour, and shadow, and you can adjust from there if needed.
Check the preview at full size before downloading. A border that looks fine on a small phone screen may be too thick or too thin when viewed on a computer.
Downloaded files save to your usual downloads folder. From there you can share the framed photo directly to a chat app, an email, or a social post.
If the drop shadow disappeared, check the export format. JPG has no transparency, so the shadow only survives in PNG or WebP exports.
If the corners look square when you wanted them round, check the frame radius and photo radius. Both need to be set for a uniform rounded frame.
If the border looks uneven, check the size setting. A border set as a percentage can look different on tall and wide photos, so adjust it for the shape.
If the framed image is too large for its destination, reduce the border size or resize the photo first. A border adds to the total dimensions, so a wide frame can push the file over a size limit.
Paste a screenshot directly with Ctrl+V to skip the save step. The image appears in the tool immediately, ready to frame.
A thin white border with a soft shadow makes a screenshot look like a card. It separates the screen capture from the page and makes it look polished.
Keep the border thin for screenshots. A thick frame takes up space that the screenshot content needs, especially when the text in the capture is small.
Export framed screenshots as PNG. The lossless format keeps the small text sharp, which matters when the screenshot is meant to show a setting or an error message.
Start with a preset and adjust from there. The quick frames give you a good base in one click, and fine-tuning takes only a few seconds.
Keep the border thin for social media. A thick frame takes up space in a small feed preview, leaving less room for the photo itself.
Use the same border style across a set of photos. Consistency makes a series look professional, while mixed frames look random.
Save the original photo without a border. Once a border is flattened into an export, it cannot be removed from that file, so the original is your only clean copy.
A photo used on a slide often needs a border to separate it from the slide background. A thin white frame with a soft shadow makes the image look like a card on the slide.
Keep the border thin for slides. A thick frame takes up space that the photo and the text need, especially when the slide already has a title and bullet points.
Match the border colour to the slide theme. A white border suits a light theme, while a dark border suits a dark theme, and a mismatched frame looks accidental.
Export the framed slide image as JPG at a high quality setting. The slide will be projected large, so the photo and the border both need to stay sharp.
For style ideas, read Image Frames and Borders: Styles for Social and Print. For the full overview, see Image Borders: Complete Guide, and to round the corners of a framed photo, try the Round Image Corners tool.
Learn how to add borders to images online: solid, Polaroid, and gradient glow frames, border size, corner radius, shadows, and colours.
Which frame style suits your photo? Minimal, Polaroid, gallery, gradient glow, and retro frames compared for social media, print, and product photos.
All 11 photo filters compared: Vintage vs Sepia, Grayscale vs Noir, Warm vs Cool, and which style suits portraits, landscapes, food, and products.
Apply photo filters in minutes: upload, browse the 11 styles, set the intensity, compare with the original, and download a styled photo.