Guides··7 min read

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.

By On-Model Team

A ghost mannequin t-shirt floating on a dark background inside a thin blue frame of margin guides, with measurement ticks on all four sides

Create Packshot

Clean packshots from one product photo.

Your first 25 images are free.

Start free →
On this page▾
  1. What you need
  2. Step 1. Open Output settings in your template
  3. Step 2. Set the margins
  4. Step 3. Choose where the spare room goes
  5. Step 4. Run it with a flat background
  6. The results
  7. A marketplace brief in pixels
  8. Tips
  9. Where to go next
  10. Sources

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.
Input: one phone photo

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.

Output settings of a ghost mannequin template: 25% on every side, product sitting on the bottom margin.

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.

Create Packshot: Input
Create Packshot: Output

Create Packshot

Clean packshots from one product photo.

Your first 25 images are free.

Start free →

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.

Post-processing turns on by itself with placement. Keep Force flat background on as well.

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.

Two shots, both placed. The quality check also measures the margins.

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.

Vertical position: Center
Vertical position: Bottom

We measured the delivered 1536×2048 files:

LeftRightTopBottom
Center, front25.0%24.9%30.8%30.8%
Bottom, front25.0%24.9%35.5%25.0%
Bottom, back25.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):

Create Packshot with product placement
Center · Front
Center · Back
Bottom · Front
Bottom · Back

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.

Input: one flat-lay photo

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.

The same Output settings, set to a pixel brief: 1920×2880, 100 px top and bottom, 60 px left and right.

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.

Front · 1920×2880
Back · 1920×2880

Measured on the delivered files:

TopBottomLeftRight
Brief100 px100 pxat least 60 pxat least 60 px
Front99 px100 px414 px414 px
Back100 px99 px423 px421 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.

Create Packshot, 1920×2880 with pixel margins
Front
Back

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

Sources

create-packshotmarketplacestemplatesghost-mannequintutorialworkflow