Beskrivelse
Select 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.
Skjermskudd
Blokker
Denne utvidelsen gir 1 blokk.
- WP Image Mask
Installasjon
Upload the WP Image Mask plugin to your site, activate it and start using.
FAQ
-
Do I need to replace my images with some custom Gutenberg block to use 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 way to add an image with mask?
-
Yes! You can use shortcode
[wp-image-mask src="https://url_of_your_image" mask="https://url_of_your_mask_image"]
.
Vurderinger
Bidragsytere og utviklere
“WP Image Mask” er programvare med åpen kildekode. Følgende personer har bidratt til denne utvidelsen.
Bidragsytere“WP Image Mask” har blitt oversatt til 3 språk. Takk til oversetterne for deres bidrag.
Oversett “WP Image Mask” til ditt språk.
Interessert i utvikling?
Bla gjennom koden, sjekk ut SVN-repositoriet, eller abonner på utviklingsloggen med RSS.
Endringslogg
3.0
- Stable release.
- Add shortcode to apply image mask.
2.0
- Stable release.
- Fixed issues with applying custom mask to images.
- Add the ability to paste SVG code for image mask.
1.0
- First release.