Skip to main content

Image Guidelines

Tip: In this guide, you will know what image size to prepare before adding products or editing the homepage. Estimated time: 5 minutes.

Image size should be decided before uploading. Many beginners fill products and banners first, then discover images are blurry, cropped, or slow. A better workflow is: check the approximate module size first, then prepare images with a similar ratio.

Read this before you start

Use compressed WebP images. Images over 500KB will definitely load slowly and will affect website opening speed.

Product main images, banners, and galleries all depend on image size. Understand ratio and file size first, then edit product pages to avoid rework.

Common Image Sizes

Image positionSuggested sizeFile sizeNotes
Homepage banner / carouselAround 1800 x 1000Around 300KB or lessLandscape image for the first screen
Product main image and gallery800 x 800 or 1000 x 1000Around 300KB or less eachUse square images and keep the same ratio for one product
Post cover image1200 x 700Around 300KB or lessLandscape image for post listings and the top of a post
Product and post detail imagesWidth no more than 1500; recommended 1500 x 1000 or 1500 x 600Around 300KB or less eachChoose a landscape ratio for the content and keep a consistent width within one detail page
LogoWidth under 350pxAround 100KB or lessTransparent PNG is common
Icon / Favicon512 x 512Around 100KB or lessSquare image

If an image is larger than the recommended file size, use this image compression and format conversion tool:

https://imagestool.com/zh_CN/compress-images

Compress or convert the image before uploading it to AllinCMS admin.

Small differences are fine

For example, the screenshot shows a banner module around 1825 x 1000. An image at 1800 x 1000 works well. It does not need to match exactly; a similar ratio is enough.

Use Square Images for Product Main Images and Galleries

Use 800 x 800px or 1000 x 1000px square images for product main images and galleries. Do not mix different image ratios within the same product. Place the main product in the center of the canvas. The product itself should usually take about 70% to 80% of the image area, with even whitespace around it.

Do not place important product details near the edges, because frontend cropping may cut them off. In short: center the product, keep safe whitespace, and avoid edge-to-edge products.

800 x 800 px product image composition example - the product is centered with safe whitespace around it so frontend cropping does not cut off important details

How to Check Module Size

If you do not know the size of a module, use this simple method:

  1. Maximize the browser window.
  2. Open the frontend page or designer preview.
  3. Use a screenshot tool to select the module.
  4. Read the width and height shown by the screenshot tool.
  5. Prepare images using that ratio.

AllinCMS admin module size measurement example - maximize the browser and use a screenshot tool to check banner width and height; the example is about 1825 x 1000, so 1800 x 1000 is suitable

The banner above is about 1825 x 1000, so you can prepare:

1800 x 1000

Close ratios also work:

1600 x 900
1920 x 1080
1800 x 1000

Decide by Use

1Prepare image
2Where used?
3Landscape, around 1800 x 1000Homepage banner
4Square, 800 x 800 or 1000 x 1000Product main image and gallery
5Keep one group consistentGallery / cases
6Transparent or square iconLogo / favicon

Compress Before Uploading

Slow sites are often caused by oversized images. Compress homepage banners, product images, post covers, and detail images before uploading.

Compression tool:

https://imagestool.com/zh_CN/compress-images

Recommended:

  • Convert large JPG / PNG images to WebP first.
  • Keep one banner around 300KB or less.
  • Keep each product image, gallery image, post cover, and detail image around 300KB or less.
  • Do not upload original phone photos directly. They are usually too large.

If Images Are Cropped

If an image is cropped after upload, do not keep replacing images immediately. First check the module image display mode.

Common fixes:

ProblemFix
Product image is croppedSet image display to Fit inside in module properties
Banner text is hard to readKeep image mask or use a cleaner image
Gallery images look unevenUse the same ratio before uploading
Image is blurrySource image is too small; use a clearer image

AllinCMS admin image display mode setting - the Media dropdown selects Fit inside so product images show fully without being cropped

More fixes: Image Display Issues.

Add Image Descriptions

When uploading images, add useful descriptions. Do not write "image 1"; describe what is in the image.

Example:

Black wireless earbuds with charging case on white background

This helps SEO and accessibility.

Pitfalls

MistakeResultHow to avoid it
🟡 Uploading without knowing sizeImages may crop or distortScreenshot the module ratio first
🟡 Image too largeHomepage loads slowlyCompress before upload
🟡 Product ratios varyProduct list looks messyUse square product main images
🔴 Banner text unreadableFirst screen performs poorlyKeep mask or change image
🟡 Alt says "image 1"Weak SEO signalDescribe image content

Next

Add Products - after preparing image sizes, upload product images and galleries.

Image Display Issues - read this when images are cropped.