WP Image Mask
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.
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.
Screenshots & previews.
Upload the WP Image Mask plugin to your site, activate it and start using.
Frequently asked questions.
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.