Attach images to products and categories
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Lets users attach media files (images, documents) to products, product variants and product categories, with optional attribute filters so a media only shows for the matching variant.
This module connects the media library to the product catalog. On a product form a new "Media" tab lists the media linked to that product; each link can carry a description and, optionally, a set of product attributes.
- On a product template you add media and, if you want, restrict a media to certain attribute values (for example colour or size). The list of attributes you can pick from is filled automatically from the product's own attribute lines.
- On a product variant a computed "Media" tab shows only the media whose attribute restrictions match that variant's attribute values; media with no restriction apply to every variant.
- On a product category form a "Media" group lets you attach media to the whole category.
- The media list is colour-coded: green when the media is public and active, red when it is not public but active, and greyed out when the media is inactive.
- Media name, type, URL, file path, public flag and active status are pulled automatically from the media record and cannot be edited from the product side.
Access is controlled: regular internal users can only read the product-media links, while members of the media manager group can create, edit and delete them. The module touches product.template, product.product, product.category and adds the new product.media.relation model.
Depends on
Models and fields (4)
- product.product · extends an existing modelvariant_media_ids
- product.category · extends an existing modelmedia_ids
- product.template · extends an existing modelmedia_ids
- product.media.relation · new modelurl, name, media_id, sequence, url_path, is_public, description, media_active (Media Active), media_type_id, product_tmpl_id, attribute_value_ids (Attributes), available_attribute_value_ids (Available attributes)
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 3 confirmed, 6 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/storage.
terminal Installation and usage
OCA documentation · Odoo 18.0Usage
Source · Odoo 18.0Categories
- Go to Sales > Configuration > Products > Product Categories. A new field Image is available to upload or use an existing image.
Products
- Go to Sales > Products. In variants tab, after the attributes selection, you will find the images.
For uploading and managing the images see the module storage_image.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.