Linux 软件免费装
Banner图

WP Image Mask

开发者 barb0ss
更新时间 2025年5月9日 23:25
PHP版本: 7.3 及以上
WordPress版本: 6.8.1
版权: GPLv2 or later
版权网址: 版权信息

标签

image shortcode gutenberg mask

下载

3.1.1 3.0 3.1

详情介绍:

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

安装:

Upload the WP Image Mask plugin to your site, activate it and start using.

屏幕截图:

  • 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.
  • 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.
  • Once you have pasted the code - it will apply to your image.
  • You can also apply image masks to gallery's images.

升级注意事项:

3.1.3
  • Fixed security vulnerability
3.1.2
  • Removed inline tags, applied image mask as inline css
  • Fixed Gutenberg view for custom image mask
  • Migrate to @wordpress/create-block
3.1.1
  • Removed unnecessary wp-image-mask – CGB Block
3.1
  • Add the ability to select mask fit in the Gutenberg block
  • Removed network level from the plugin
3.0
  • Add a shortcode to apply image mask.
2.0
  • Fixed issues with applying custom masks to images.
1.0
  • First release.

常见问题:

Do I need to replace my images with some custom Gutenberg block to use an image mask?

No, this plugin attaches to the native Gutenberg image block, so no need to replace your existing images.

Can I apply my custom image mask?

Sure! You can select a custom image mask file or paste SVG code of your image mask.

I don't use Gutenberg - is there any other way to add an image with a mask?

Yes! You can use shortcode [wp-image-mask src="https://url_of_your_image" mask="https://url_of_your_mask_image"].

更新日志:

3.1.3 3.1.2 3.1.1 3.1 3.0 2.0 1.0