OdooWiki OCA HUB

Storage Thumbnail

storage_thumbnail folder_open OCA/storage open_in_new
Storage License: LGPL-3

External image thumbnail management depending on Storage File module.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds thumbnail support to files stored in Odoo's storage system, automatically creating small and medium image previews when records are created.

This module gives Odoo the ability to generate and store image thumbnails for files managed by the storage system. It is a building block used by other modules rather than a standalone screen.

  • A new storage.thumbnail record type stores each generated preview, with its X and Y size, an optional URL key, and a link to the original storage.file. A new file type "Thumbnail" is added to storage.file.
  • A reusable mixin (thumbnail.mixin) can be added to any model. When a record is created, it automatically generates a small (64x64) and a medium (128x128) thumbnail, and exposes computed fields for the medium and small thumbnail records plus their URLs.
  • Thumbnails are resized either inside Odoo or by an external resize server configured in system parameters; the output format can also be forced through a parameter.
  • The default storage backend for thumbnails is taken from the system parameter storage.thumbnail.backend_id.
  • Deleting a thumbnail also deletes its underlying file.
  • Simple form and list views exist for thumbnails, and access is read-only for regular users, full access for system administrators.

Depends on

Required by other modules

Models and fields (3)
  • storage.file · extends an existing modelfile_type
  • thumbnail.mixin · new modelthumbnail_ids (Thumbnails), thumb_small_id, image_small_url (Small thumb URL), thumb_medium_id, image_medium_url (Medium thumb URL)
  • storage.thumbnail · new modelres_id, size_x (X size), size_y (Y size), file_id, url_key, res_model

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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 5 confirmed, 4 with no information of 9 versions.

terminal Installation and usage

No verified information

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.

info

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.