跳到内容

TileCrop

v1.0.0

Tor N. Johnson · 2013年8月28日 上架

Extends the resize/crop function to allow images to be matted and enforce aspect ratios.

正在使用
10 以下
评分
暂无
累计下载
1,257
最近更新
2013年8月29日
需要 WordPress 3.5+已测试到 3.5.2

贡献者

截图

This is an example of the code in functions.php
This is an example of the code in functions.php

The traditional wordpress image resizing engine will resize images to fit within the specified size but not preserve the destination pixel dimensions OR will crop the image. This plugin gives a third alternative – the image will be reduced to fit within the specified size and then the canvas extended to preserve the destination pixel dimensions. The canvas will then be filled in based on a sampling of the colors in the four corners of the image.

Requirements

This plugin requires that either ImageMagick or GD be installed on the server.

Plums

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

导航

说明

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

© 2026 Plums