Browse articles

Image display: aspect ratios and crop or contain

Give every product image in the cart the same shape, so the cart looks tidy and doesn't jump while images load.

Last updated

Set one aspect ratio for all product images in the cart. Whether a photo is landscape, portrait or square, it gets the same frame, so the cart looks tidy and doesn't jump around while images load.

The settings are in the Image display card under Cart designerProduct display.

Image display card with the AI determine button, Aspect ratio set to Portrait (2:3), and Image fit set to Contain

Let AI pick the ratio

When you install EliteCart, it looks at your product images and sets the most common ratio for you. If your product photos change later, run it again:

  1. Open Image display

    Go to Cart designerProduct display and scroll to the Image display card.

  2. Click AI determine

    EliteCart checks your product images and selects the matching Aspect ratio.

  3. Save

    Click Save in the save bar.

Choose a ratio yourself

Pick an Aspect ratio:

OptionShape
No constraintEach image keeps its own shape
Square (1:1)Square
Portrait (2:3)Clearly taller than wide, common for fashion
Standard (3:4)Classic portrait
Instagram (4:5)Slightly taller than wide
Tall (5:6)Almost square, a little taller than wide
CustomYour own ratio

For Custom, enter a Width and a Height. The ratio is width to height: Width 4 and Height 3 gives a 4:3 landscape frame, Width 9 and Height 16 a tall 9:16 frame.

Image fit: contain or cover

Once a ratio is set, choose under Image fit how an image fills its frame:

  • Contain (recommended: shows full image, may have empty space): the whole image is visible. If its shape differs from the frame, you see some empty space around it. Best when details at the edges matter.
  • Cover (crops image to fill container): the image fills the frame and the edges may be cut off. Works well for lifestyle photos.

Why a fixed ratio helps

  • The cart reserves the right space before images load, so nothing shifts while the customer scrolls.
  • All product rows line up, which looks more polished.

Other image and price settings, like Image size, are described in Product display settings.

Still stuck?

Chat with us and we'll help you get your cart live. Or email contact@elitecart.app.