Product Image Layers - Live Product Customizer Preview by Attribute
by Modvanta https://modvantaapps.tech/odoo-apps/product-image-layers/$ 28.92

Product Image Layers for Odoo 19
Show customers exactly what they are buying: the product picture is built from a base image and transparent layers that follow the colour, print or option they pick on the product page, without photographing every combination.
Written and supported by Modvanta - modvantaapps@gmail.com
Odoo 19 Community and EnterpriseeCommerce product pageLayers per attribute valueZ-orderVariant images from layersMulti-website
What it does
In plain language Upload one base picture of the product and one transparent PNG layer per attribute value. When the customer picks Red and Star print, the red layer and the star layer are stacked on the base picture at once. Layers without an attribute value are always shown: a frame, a shadow, a label or a logo. One button composes the layers into real variant images, so the cart, the order and the backend show the right picture too. | Who it is for Shops selling clothing, mugs, bags or furniture in many colours and prints. Personalised gifts and print on demand with a few preset designs. Any product where photographing every combination is not realistic. Shops that want the cart and the order to show the chosen colour. |
Key features
Every screenshot below was taken on Odoo 19 with this module installed.
FEATURE 1
Live preview on the product page
The product picture is a stack of the base image and the layers of the values picked in the product form.
Colour swatches and radio buttons switch the layers
Attributes that create variants and attributes that do not

FEATURE 2
Colour and print change together
Picking Red and Star shows the red body with the star print on top, in the order you set.
Layers swap instantly, no page reload

FEATURE 3
Every combination without extra photos
Navy with waves, red with a star, green without a print: all from 7 layer files.
Always-on layers stay on top of every combination

FEATURE 4
Plain combinations too
A value without a layer, like No Print, simply shows nothing extra.
The normal image gallery stays for products without layers

FEATURE 5
Layer editor with z-order
The product form gets an Image Layers tab: upload the layers, pick the attribute value and drag the rows to change the stacking order.
Z-Order and opacity per layer
Optional separate base image
Layer per website when you run several shops

FEATURE 6
Preview in the backend
The tab shows the stack for the first value of every attribute, so you check the layers line up before publishing.
Same rendering as the website

FEATURE 7
Layer form with its own preview
Each layer shows the base image, the always-on layers and this layer together.
Archive a layer to hide it without deleting it

FEATURE 8
All layers in one list
eCommerce > Products > Product Image Layers lists the layers of every product, grouped by product.
Filters for always-shown and archived layers

FEATURE 9
Variant images from the layers
Generate Variant Images composes the base and the layers of each variant into a real image on the variant.
Uses the same z-order and opacity
Run it again after changing a layer

FEATURE 10
The cart shows the chosen colour
Because the variant has its composed image, the cart and the order show the colour the customer picked.
The product variants in the backend show the composed image too

How it works
| 1 | Prepare the images One base picture and transparent PNG layers of the same size, one per colour, print or option. |
| 2 | Open the product Product form > Image Layers: tick Image Layers and add the layer rows. |
| 3 | Link the values Pick the attribute value of each layer, or leave it empty for an always-on layer. |
| 4 | Order the stack Drag the rows or set the Z-Order: higher is drawn on top. |
| 5 | Publish Open the product on the website and pick the options; optionally click Generate Variant Images. |
Settings
| Image Layers | Per product: replace the image gallery on the product page by the layer stack. |
| Base Image | Optional; empty uses the main product image. |
| Attribute Value | Per layer; empty means always shown. |
| Z-Order | Per layer; higher numbers are drawn on top. |
| Opacity | Per layer, 0 to 100 percent. |
| Website | Per layer, for multi-website shops; empty means every website. |
FAQ
Which image format should the layers use?
Transparent PNG with the same pixel size as the base image. A layer of another size is stretched to the base size when variant images are composed.
Does it work with attributes that do not create variants?
Yes on the product page. Variant images can only contain the attributes that create variants.
What do customers see in the cart?
The variant image. Click Generate Variant Images once and the cart shows the composed picture of the chosen variant.
Can I keep the normal gallery for some products?
Yes. Only products with Image Layers ticked and at least one layer use the layer stack.
Is my theme supported?
The layer stack replaces the image block of the standard product page and is tested with the default theme.
Compatibility and support
Odoo 19 Community and Enterprise. Depends on eCommerce (website_sale).
Questions, a demo or a custom change: modvantaapps@gmail.com
AUTHOR Modvanta | INCLUDED Layers, z-order, preview, variant images |
Buy Now - $29Hire Us for Odoo Work
Written and supported by Modvanta - modvantaapps@gmail.com
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Website (website) • Discuss (mail) • Invoicing (account) |
| Lines of code | 454 |
| Technical Name |
mdv_product_image_layers |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/product-image-layers/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module