跳到内容

Square Thumbnails – Square Product Images Without Cropping

v2.5

ilmdesigns · 2017年6月22日 上架

Turn product photos of any shape into matching square thumbnails, whole and centered on a background you choose, for an even WooCommerce grid.

正在使用
700+
评分
4.2 / 5
累计下载
2 万
最近更新
2026年11月23日
19 条评价需要 WordPress 3.5+已测试到 7.1.5

截图

With the plugin: the whole image fits inside the square thumbnail in the Media Library.
With the plugin: the whole image fits inside the square thumbnail in the Media Library.
Without the plugin: WordPress crops the same image to a square and cuts the text.
Without the plugin: WordPress crops the same image to a square and cuts the text.
Settings: the formats your server supports, the apply options and image alignment.
Settings: the formats your server supports, the apply options and image alignment.
Settings: background, small image handling and JPEG quality.
Settings: background, small image handling and JPEG quality.
Settings: which image sizes become square, and regeneration.
Settings: which image sizes become square, and regeneration.
The Regenerate Square Thumbnails button in the attachment details.
The Regenerate Square Thumbnails button in the attachment details.

Product photos rarely come in one shape. Put a tall bottle next to a wide shoe and your shop grid turns uneven. Crop them to match and the bottle loses its cap and the shoe loses its toe.

Square Thumbnails makes square product images without cropping. It scales the whole photo to fit inside a square and fills the space around it with a background you choose, so every thumbnail has the same shape and nothing is cut off.

How it makes square images

When you upload an image, WordPress creates its usual thumbnails. Square Thumbnails then saves a square version of each size, with the whole image placed on the background. The file you uploaded is never overwritten.

For images already in your library, the plugin has its own regeneration tool, so you don’t need a second plugin.

It works with JPEG, PNG and GIF, plus WebP, AVIF and BMP when your server’s PHP GD library supports them. The settings page lists what your server can process.

What you can set

  • Thumbnail background: a custom color (white by default), the color of the image’s top-left pixel, or transparent.
  • Alignment: left, center or right, and top, middle or bottom (center and middle by default).
  • Image sizes: choose which sizes become square, with one-click selections for the WooCommerce or WordPress default sizes.
  • Small images: set a minimum size, then leave smaller images as they are or process them anyway.
  • JPEG quality: from 60 to 100 (90 by default).
  • Regeneration: your whole library with a progress bar, one image from its details screen, or a selection from the Media Library.

Which sites it suits

  • WooCommerce stores whose product images arrive in mixed shapes from suppliers, imports or data feeds (block-based shop pages have a limit, see the FAQ)
  • Catalogs, portfolios and galleries built on a square grid
  • Any WordPress site that needs square images. WooCommerce is optional.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums