Image Masks
Apply built-in or custom PNG masks to image-based Live Preview layers.
Last updated: 2026-09-13
Image Masks let merchants display image-based Live Preview content inside a specific shape. Use one of Podifai's built-in masks or upload a custom PNG mask for Image Swatch, image-enabled Dropdown, image-enabled Badge Group, or Image Upload preview content.
Supported Option Types
Masks are available for options whose Live Preview result contains an image:
- Image Swatch
- Image-enabled Dropdown
- Image-enabled Badge Group
- Image Upload
Choose a Mask
- Enable Live Preview for the image-based option.
- Select its image preview layer in the editor.
- Open the Mask setting.
- Choose one of Podifai's built-in masks or upload a custom PNG mask.
- Position and scale the preview content so it fits the visible masked area.
- Save and test every affected option value on desktop and mobile.
Upload a Custom PNG Mask
Use a custom PNG mask when the visible area needs to match a product-specific outline. Prepare the PNG at the same aspect ratio as the intended preview area, keep its edges clean, and leave enough tolerance for shopper uploads with different proportions.
Masks with Image Upload
Image Upload can use a mask together with the Storefront Image Editor. The merchant chooses the mask and enables the shopper tools that are appropriate for the product. Shoppers can then reposition, scale, rotate, adjust opacity, apply grayscale, or zoom the preview according to those settings while the uploaded image remains presented inside the masked area.
Testing Checklist
- Test portrait, landscape, square, and transparent images.
- Check that important artwork stays inside the visible mask area.
- Verify the mask on every product view where the layer appears.
- Test the result in both Inline and Popup modes on desktop and mobile.
FAQ
Which Podifai options support image masks?
Masks can be applied to image-based Live Preview content from Image Swatch, image-enabled Dropdown, image-enabled Badge Group, and Image Upload.
Can I upload my own mask?
Yes. Choose a built-in mask or upload a custom PNG mask when the preview needs a product-specific shape.
Is an image mask the same as shopper-controlled cropping?
No. The merchant configures the mask that defines the visible preview shape. For Image Upload, shoppers can use the enabled Storefront Image Editor tools to reposition or scale their image within that presentation.
