WP Image Mask
by Bogdan Bendziukov on WordPress.org
This plugin adds the ability to set a mask to Gutenberg's image block or via shortcode [wp-image-mask].
(1)

Select your image (or add a new one from Gutenberg blocks).
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
(defaultcontain
);alt
– alt text for the image.
Active installations200+
Weekly downloads
36-7.69%
Version3.1.3
Last updated5/9/2025
WordPress version6.0.1
Tested up to6.8.1
PHP version7.3
Tags
gutenbergimagemaskshortcode