PayPal's latest payment processing solution. Accept PayPal, Pay Later, credit/debit cards, alternative digital wallets and bank accounts.
Square Thumbnails – Square Product Images Without Cropping
Hospedagem WordPress com plugin Square Thumbnails
Onde devo hospedar o plugin Square Thumbnails?
Este plugin pode ser hospedado em qualquer provedor que tenha WordPress instalado. Recomendamos fortemente optar por uma hospedagem de confiança, com servidores adaptados para WordPress, como o serviço de hospedagem de sites da MCO2.
Hospedando o plugin Square Thumbnails em um provedor de confiança
A MCO2, além de instalar o WordPress na versão mais nova para seus clientes, fornece o plugin WP SafePress, um sistema singular que salvaguarda e melhora seu site simultaneamente.
Por que a Hospedagem WordPress funciona melhor na MCO2?
A Hospedagem WordPress funciona melhor pois a MCO2 possui servidores otimizados para WordPress. A instalação de WordPress é diferente de uma instalação trivial, pois habilita imediatamente recursos como otimização de imagens e fotos, proteção da página de login, bloqueio de atividades maliciosas diretamente no firewall, cache avançado e HTTPS ativado por padrão. São plugins que potencializam seu WordPress para a máxima segurança e o máximo desempenho.
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 tools, 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.
New in 3.0
Everything new is off until you turn it on. A site that updates and changes no setting keeps exactly the thumbnails it had.
- Shape: keep fitting the whole image, or crop to the center, around a focal point you pick, or by smart crop, which keeps the most detailed part of the image.
- Trim and same size: remove plain margins around the product, and make every product fill the same share of the square.
- Background: take the color from the edges of the image, or remove a plain background around the product.
- Modern formats: save the square thumbnails as WebP or AVIF where your server can, and see how much space that saved.
- Background Batch: regenerate your library on the server in short steps, with pause, cancel, an optional night window and undo of the last run.
- Live Preview: see a sample image, or one of yours, with the current settings before you regenerate anything.
- Settings for one image: in the Media Library, give an image its own shape, focal point or background, exclude it, or restore WordPress’s own thumbnails for it.
- Post Types: make square only the images of the post types you choose, such as products.
- Whole Images in Block Grids: show whole product images in WooCommerce’s block-based shop grids.
- Server Check: the formats and memory your server has, the largest image it can square and whether scheduled tasks run.
- WP-CLI:
wp square-thumbnails regenerate,status,undoandcheck.
Not included: lazy loading, <picture> markup and any outside service. All the work happens on your own server.
What you can set
- Shape: fit the whole image (the default), crop to the center, crop around a focal point or smart crop.
- Thumbnail background: a custom color (white by default), the color of the image’s top-left pixel, the most common color along its edges, 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). WebP and AVIF have their own quality.
- Regeneration: your whole library with a progress bar or in the background, 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
- Catalogs, portfolios and galleries built on a square grid
- Any WordPress site that needs square images. WooCommerce is optional.
Capturas de tela
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.
Shape: fit the whole image or crop it, trim margins and give every product the same size.
Live Preview: a sample image with the current settings, next to what WordPress makes.
Regeneration: the whole library with a progress bar, or a Background Batch run on the server with pause and cancel.
Settings: the formats your server supports and the apply options.
Settings: background, small image handling and JPEG quality.
Settings: which image sizes become square.
In the attachment details: the image's own settings and Regenerate Square Thumbnails.