Exact Product Margins for Marketplaces
Set exact margins around your product in a Create Packshot template: in pixels or percent, centred or on the bottom line. A short tutorial with results.

Create Packshot
Clean packshots from one product photo.
Your first 25 images are free.
On this page▾
Image size is only half of a marketplace spec. The other half is where the product sits inside it. A typical brief reads like this: 1920×2880 px, white background, item centred, 100 px top, 100 px bottom, 60 px left, 60 px right. Amazon asks clothing main images to fill 85% of the frame. Google recommends the product take up between 75% and 90% of the image.
Image models don't follow numbers like these. Ask for "100 px of space at the top" and you get roughly some space, a little different on every shot. So Create Packshot now places the product after it is generated: you set the margins once in a template, and every image of every product comes out measured to them.
This guide sets it up in the template editor, runs it, and shows the results on two products: a t-shirt with margins in percent, centred and then sitting on the bottom line, and a pair of jeans placed to that exact pixel brief.
What you need
- A Pro plan or above. Product placement uses the same entitlement as custom dimensions.
- A Create Packshot template. Any style works. We used a copy of a ghost mannequin template.
- One product photo. Our first is a t-shirt laid flat on a wooden table, shot on a phone.
Step 1. Open Output settings in your template
Open your template at Templates in the sidebar. System templates are read-only, so duplicate one first if you start from the built-in library (Edit a Template shows how).
Pick a preset on the left and scroll to Output settings. Next to Dimensions you will find Product placement. Switch it from Off to Exact margins.
Step 2. Set the margins
Choose the unit first with Margins in:
- Pixels for a marketplace brief that gives exact numbers. Pixels only make sense with a fixed output size, so pair them with custom dimensions (for example 1920×2880).
- % of the image when the same template should work at any size. Top and bottom are a share of the height, left and right a share of the width.
Then fill in Top, Bottom, Left and Right. Leave a field empty for no margin on that side. The four margins must leave at least a quarter of the image for the product on each axis, and the editor tells you as you type if they don't.
Step 3. Choose where the spare room goes
This is the one rule worth understanding before you run anything.
The product is scaled, never stretched. It grows until it touches one pair of margins: top and bottom, or left and right. That pair is met exactly. Unless the product happens to have exactly the shape of the box, the other pair ends up with more room than you asked for. Those two margins are then a minimum, and the two position fields decide where the extra room goes:
- Horizontal position: Center, Left or Right.
- Vertical position: Center, Top or Bottom.
Our t-shirt is wider than it is tall, so with 25% on every side it reaches the left and right margins first. Left and right are exact. On the vertical axis there is room to spare, and that is where the position matters:
- Center splits the spare room evenly above and below.
- Bottom puts the product on the bottom margin, exactly 25% from the edge, and gives all the spare room to the top.
Bottom is the setting to use when a set should share one baseline: products of different heights all standing on the same line, the way a shelf or a category grid looks tidy.
Each field has a Shared · all badge when every preset in the template has the same value. To change all of them at once, set it on one preset and click Apply to all.
Step 4. Run it with a flat background
Run the template from its page, or load it in Create Packshot under Start from a template. On the last step, check Processing Options.
Placing the product can add empty space at the edges, and that space is filled with one flat colour. On a white or plain studio background it is invisible. Turn on Force flat background (a transparent White cutout is padded with transparency instead) and the added space matches the background exactly. On a scene or a textured surface, the added band may show, and the wizard warns you.
Placement costs nothing extra: you pay for the generated images, as usual. Our run was two shots at 2K, 10 credits.
The quality check measures the delivered image against your margins. If a margin comes out smaller than you asked, usually because the product was cut off at the edge of the generated shot, the image is marked Worth a look.
The results
Same t-shirt, same template, same 25% margins on every side. Only the vertical position changes. The blue lines mark the 25% margins.
We measured the delivered 1536×2048 files:
| Left | Right | Top | Bottom | |
|---|---|---|---|---|
| Center, front | 25.0% | 24.9% | 30.8% | 30.8% |
| Bottom, front | 25.0% | 24.9% | 35.5% | 25.0% |
| Bottom, back | 25.0% | 25.0% | 36.0% | 25.0% |
Left and right hit 25% to the pixel in every shot. With Center, the spare room is split evenly. With Bottom, the shirt sits exactly on the bottom margin and the top takes the rest. The front and back of the bottom-aligned set share the same baseline, even though the two shots were generated at slightly different sizes.
Here are the four packshots without the guides (click any image to zoom):
A marketplace brief in pixels
Now the brief from the top of this post, number for number: 1920×2880 px, item centred, 100 px top and bottom, 60 px left and right. This time with a different product, a pair of jeans laid flat on white.
In a copy of the same template, set Dimensions to Custom (W × H) with 1920 and 2880, switch Margins in to Pixels, and type the four numbers from the brief. Both positions stay on Center.
Jeans are the opposite shape of a t-shirt: much taller than they are wide. So this time it is top and bottom that the product reaches first, and those two margins are met exactly. Left and right are the minimum, with the spare room split evenly because the horizontal position is Center.
Measured on the delivered files:
| Top | Bottom | Left | Right | |
|---|---|---|---|---|
| Brief | 100 px | 100 px | at least 60 px | at least 60 px |
| Front | 99 px | 100 px | 414 px | 414 px |
| Back | 100 px | 99 px | 423 px | 421 px |
Top and bottom land on the brief to the pixel, left and right are well above the minimum, and the file is exactly 1920×2880. That is the image a marketplace asks for, with no crop or resize step afterwards.
Tips
- One spec per preset. Each preset has its own placement, so a front shot and a detail shot in the same template can use different margins. Variations of a preset inherit it.
- Pixels need a fixed size. With a preset size (2K, 3:4) the pixel count depends on the shot, so percent is the safer unit. With custom dimensions, use the brief's numbers as they are.
- Leave room in the shot. A product that is cut off at the edge of the generated image can't be placed back in. If the check flags a margin, regenerate that shot.
- Through the API and Bulk Create too. The same settings travel with the template, so a Bulk Create run or an API job places every product the same way. API users set it per instruction, see the Create Packshot docs.
Where to go next
- Pixel-Perfect Sizes for Marketplaces covers exact output dimensions, the other half of a marketplace spec.
- Edit a Template shows how to duplicate a system template and change its background and size.
- White Background Product Photography explains why "almost white" gets rejected.
Sources
- Amazon Seller Central, Image guidelines for clothing
- Google Merchant Center Help, Image best practices
Read Next

Bulk Create: One Setup, a Whole Collection
Create on-model images, packshots and colorways in bulk for up to 100 fashion products at once. Tag each product, set up once, one job per tag.

Edit a Template: Background and Size
Duplicate a system template, set an exact background color with the new picker, and pick output size or custom dimensions. Step by step.

AI Packshots: Create Packshot in 3 Steps
Generate ghost mannequin, flat-lay, and white-cutout AI packshots from raw garment photos in minutes with On-Model's product photography platform.

