NotShot Blog

OpenCart product image size for clothing (2026)

Published 2026-11-01

OpenCart is a free, open source ecommerce platform that you install on your own hosting. It does not force one image size on you. Instead, it resizes every product photo to sizes you set in the admin. This page collects what the official OpenCart docs say, plus the default values and resize behavior in the OpenCart 4.1.0.4 source code, with the date we checked them, and turns that into settings for clothing photos. We make NotShot, an AI on-model photo tool, so we also cover where on-model images fit.

Close crop of a woman in a deep red satin slip dress with a cowl neckline and thin straps, from shoulders to upper thighs, against a plain light gray background. The satin shows soft highlights and folds.
An on-model render made with NotShot, 1107×1600 pixels and about 216 KB. In a default 500 × 500 thumb box, OpenCart would scale this JPEG to 345 × 500 pixels and fill both sides with white.

Where OpenCart sets image sizes

In OpenCart 4, the sizes live under System, Settings: edit your store and open the Image tab. Each size has a width and a height in pixels. The ones that matter for a clothing store are:

These defaults come from the install data in the OpenCart 4.1.0.4 source, the latest OpenCart release on GitHub when we checked on 1 November 2026. A store that was set up earlier, or a third party theme, may use other values, so check your own Image tab.

How OpenCart fits a portrait photo into a square box

Every default product size is square, while a full length photo of a standing model is taller than it is wide. The OpenCart 4.1.0.4 image library handles the mismatch the same way for every size. It scales the photo so it fits inside the box, keeps the proportions, and centers it. The empty space is filled with white for JPEG files and left transparent for PNG and WebP files. Nothing is cropped, so heads and hems stay in the frame, but a tall photo in a square box gets bars on the left and right.

Two ways to handle it for clothing:

The same library also scales images up when they are smaller than the box. Upload photos at least as large as your biggest setting, usually the popup size, so the enlarged view stays sharp.

What the OpenCart docs recommend

The OpenCart docs page on product form tabs (checked by us on 1 November 2026) describes the Image tab of each product. It has a Main Image, which appears in search results and category pages, Additional Images for other angles, details or the product in use, and a Sort Order that controls the sequence.

Its best practices table suggests high resolution, well lit photos at 72 DPI, a file size of 100 to 500 KB per image, JPEG for photos and PNG for graphics, and descriptive file names such as product-name-angle.jpg. It lists 800x600px to 1200x900px as standard dimensions. Those examples are landscape, so for on-model clothing, match the sizes to your Image tab settings instead. The docs also suggest a clear front view on a white background as the main image, then side or back views, close-ups, the product in use and other colors.

Accepted formats

Product images are uploaded through the Image Manager. In the OpenCart 4.1.0.4 Image Manager code, the accepted file types are ico, jpg, jpeg, png, gif, webp and svg, and file names must be between 3 and 255 characters. For clothing photos, JPEG is the usual pick. PNG and WebP keep a transparent fill when OpenCart resizes them, which shows the page background behind the product.

OpenCart image checklist for clothing

  1. Box shape: set the thumb, popup and list sizes to the shape of your photos, or export square photos.
  2. Size: upload at least your popup size, 800 × 800 pixels by default.
  3. File: JPEG, about 100 to 500 KB as the docs suggest.
  4. Framing: garment centered, so the fit leaves even space on both sides.
  5. Main image: the best front or on-model view, set as Main Image.
  6. Additional images: back, side, detail and color views, in the order you want with Sort Order.

Running another platform too? Compare PrestaShop product image size for clothing, WooCommerce product image size for clothing and Magento product image size for clothing. Running Odoo too? See Odoo eCommerce product image size for clothing. Running CS-Cart too? See CS-Cart product image size for clothing. Running Medusa too? See Medusa product image size for clothing. Running nopCommerce too? See nopCommerce product image size for clothing. Running Bagisto too? See Bagisto product image size for clothing. For lighting and backdrops, see our clothing product photography guide.

Where NotShot fits

The OpenCart docs set no rule against models in product images, so on-model photos can sit next to your packshots as the main or additional images. Check each marketplace's own rules before you sell there. NotShot renders your garment on your own model from the product photo you already have, and every render is checked by an AI judge that compares it with your upload for color, print and cut. Renders below the quality bar are refunded automatically, so you pay for photos that pass the check, not for attempts. Plans are on the pricing page.

Questions we get asked

What image size should I upload to OpenCart for clothing?
Upload at least the largest size set under System, Settings, Image tab, which is usually the Product Image Popup Size. A fresh OpenCart 4.1.0.4 install sets it to 800 x 800 pixels. OpenCart scales smaller uploads up to fill the box, so a bigger upload keeps the enlarged view sharp.
What are the default OpenCart product image sizes?
A fresh OpenCart 4.1.0.4 install sets Product Image Thumb Size to 500 x 500, Product Image Popup Size to 800 x 800, Product Image List Size to 250 x 250 and Additional Product Image Size to 74 x 74 pixels. Your store or theme may use other values, so check System, Settings, Image tab.
Why do my OpenCart clothing photos have white bars on the sides?
OpenCart 4.1.0.4 scales each image to fit inside the width and height you set, keeps its proportions and centers it. JPEG images get a white background in the empty space, and PNG and WebP get a transparent one. A tall photo in a square box gets space on the left and right.
Which file formats does the OpenCart Image Manager accept?
In OpenCart 4.1.0.4 the Image Manager accepts ico, jpg, jpeg, png, gif, webp and svg files. File names must be between 3 and 255 characters.
Can I set the main product image in OpenCart?
Yes. The Image tab of the product form has a Main Image, which shows in search results and category pages, and Additional Images with a Sort Order that controls the sequence.

NotShot is a Berlin-based tool for on-model product photography without the photoshoot.
Try NotShot