Title: WP Image Mask
Author: Bogdan Bendziukov
Published: <strong>7 Desember 2020</strong>
Last modified: 19 Agustus 2026

---

Cari plugin

![](https://ps.w.org/wp-image-mask/assets/banner-772x250.jpg?rev=3267791)

![](https://ps.w.org/wp-image-mask/assets/icon.svg?rev=3267792)

# WP Image Mask

 Oleh [Bogdan Bendziukov](https://profiles.wordpress.org/barb0ss/)

[Unduh](https://downloads.wordpress.org/plugin/wp-image-mask.3.1.4.zip)

 * [Detail](https://id.wordpress.org/plugins/wp-image-mask/#description)
 * [Ulasan](https://id.wordpress.org/plugins/wp-image-mask/#reviews)
 *  [Instalasi](https://id.wordpress.org/plugins/wp-image-mask/#installation)
 * [Pengembangan](https://id.wordpress.org/plugins/wp-image-mask/#developers)

 [Bantuan](https://wordpress.org/support/plugin/wp-image-mask/)

## Deskripsi

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.

## Tangkapan Layar

[⌊Select your image (or add a new one from Gutenberg blocks).⌉⌊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.⌉[

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.⌉[

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.⌉[

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.⌉[

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.⌉[

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.⌉[

You can also apply image masks to gallery’s images.

## Instalasi

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

## Tanya Jawab

### 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"]`.

## Ulasan

![](https://secure.gravatar.com/avatar/a9737ef699783b8cd526ea536b6c92085c9b586db11a612add35e88829e30944?
s=60&d=retro&r=g)

### 󠀁[Works great](https://wordpress.org/support/topic/works-great-9078/)󠁿

 [yodergreg](https://profiles.wordpress.org/yodergreg/) 22 Desember 2023 1 balasan

I needed a way to have irregular looking shapes for photos. I thought I might have
to create a custom solution, but was pleased that this plugin did exactly what I
needed. I was able to upload SVG images to use as masks to the site media library,
and then it was really easy to assign those to be used as masks to images using 
the default WP image block. I like how the plugin integrates directly into the image
block interface. Excellent! I will end up using this plugin on a lot more sites 
in the future.

 [ Baca semua 1 ulasan ](https://wordpress.org/support/plugin/wp-image-mask/reviews/)

## Kontributor & Pengembang

“WP Image Mask” adalah perangkat lunak open source. Berikut ini mereka yang sudah
berkontribusi pada plugin ini.

Kontributor

 *   [ Bogdan Bendziukov ](https://profiles.wordpress.org/barb0ss/)

“WP Image Mask” telah diterjemahkan dalam 3 bahasa. Terima kasih kepada [para penerjemah](https://translate.wordpress.org/projects/wp-plugins/wp-image-mask/contributors)
untuk kontribusi-nya.

[Terjemahkan “WP Image Mask” dalam bahasa Anda.](https://translate.wordpress.org/projects/wp-plugins/wp-image-mask)

### Tertarik mengembangkan?

[Lihat kode](https://plugins.trac.wordpress.org/browser/wp-image-mask/), periksa
[repositori SVN ](https://plugins.svn.wordpress.org/wp-image-mask/), atau mendaftar
ke [log pengembangan](https://plugins.trac.wordpress.org/log/wp-image-mask/) melalui
[RSS](https://plugins.trac.wordpress.org/log/wp-image-mask/?limit=100&mode=stop_on_copy&format=rss).

## Log Perubahan

#### 3.1.4

 * Confirmed compatibility with WordPress 7.1
 * Load editor styles inside the iframed post editor

#### 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

#### 3.0

 * Stable release.
 * Add a shortcode to apply image mask.

#### 2.0

 * Stable release.
 * Fixed issues with applying custom masks to images.
 * Add the ability to paste SVG code for image masks.

#### 1.0

 * First release.

## Meta

 *  Versi **3.1.4**
 *  Diperbarui **1 bulan yang lalu**
 *  Instalasi Aktif **300+**
 *  Versi WordPress ** 6.0 atau yang terbaru **
 *  Diuji hingga **7.1.2**
 *  Versi PHP ** 7.4 atau yang terbaru **
 *  Bahasa
 * [English (US)](https://wordpress.org/plugins/wp-image-mask/), [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/wp-image-mask/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/wp-image-mask/), dan [Spanish (Venezuela)](https://ve.wordpress.org/plugins/wp-image-mask/).
 *  [Terjemahkan dalam bahasa Anda](https://translate.wordpress.org/projects/wp-plugins/wp-image-mask)
 * Tag
 * [gutenberg](https://id.wordpress.org/plugins/tags/gutenberg/)[image](https://id.wordpress.org/plugins/tags/image/)
   [mask](https://id.wordpress.org/plugins/tags/mask/)[shortcode](https://id.wordpress.org/plugins/tags/shortcode/)
 *  [Tampilan lanjut](https://id.wordpress.org/plugins/wp-image-mask/advanced/)

## Rating

 5 dari 5 bintang.

 *  [  1 ulasan 5-bintang     ](https://wordpress.org/support/plugin/wp-image-mask/reviews/?filter=5)
 *  [  0 ulasan 4-bintang     ](https://wordpress.org/support/plugin/wp-image-mask/reviews/?filter=4)
 *  [  0 ulasan 3-bintang     ](https://wordpress.org/support/plugin/wp-image-mask/reviews/?filter=3)
 *  [  0 ulasan 2-bintang     ](https://wordpress.org/support/plugin/wp-image-mask/reviews/?filter=2)
 *  [  0 ulasan 1-bintang     ](https://wordpress.org/support/plugin/wp-image-mask/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-image-mask/reviews/#new-post)

[Lihat semua ulasan](https://wordpress.org/support/plugin/wp-image-mask/reviews/)

## Kontributor

 *   [ Bogdan Bendziukov ](https://profiles.wordpress.org/barb0ss/)

## Bantuan

Ada yang ingin dikatakan? Butuh bantuan?

 [Lihat forum bantuan](https://wordpress.org/support/plugin/wp-image-mask/)