跳到内容

WP Image Mask

v3.1.4

Bogdan Bendziukov · Pluginarium · 2020年12月7日 上架

This plugin adds the ability to set a mask to Gutenberg's image block or via shortcode [wp-image-mask].

正在使用
300+
评分
5.0 / 5
累计下载
5,998
最近更新
2026年8月20日
1 条评价需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+

截图

Select your image (or add a new one from Gutenberg blocks).
Select your image (or add a new one from Gutenberg blocks).
Select the type of image mask from the block's settings.
Select the type of image mask from the block's settings.
If you choose a custom image - click on the Choose mask image button to upload your custom mask.
If you choose a custom image - click on the Choose mask image button to upload your custom mask.
Once you have selected the mask - it will apply to your image.
Once you have selected the mask - it will apply to your image.
If you choose SVG code - paste your SVG code in the textarea field.
If you choose SVG code - paste your SVG code in the textarea field.
Once you have pasted the code - it will apply to your image.
Once you have pasted the code - it will apply to your image.
You can also apply image masks to gallery's images.
You can also apply image masks to gallery's images.

Select a custom mask for your Gutenberg image’s block or add a masked image anywhere via shortcode [wp-image-mask].

Shortcode attributes:

  • src – URL of the image;
  • mask – URL of the mask;
  • fit – how the mask should fit into the image. cover, contain (default contain);
  • alt – alt text for the image.

Plums

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

导航

说明

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

© 2026 Plums