OdooWiki OCA HUB

Show Media Size

website_media_size folder_open OCA/website open_in_new
Website License: AGPL-3

This module shows the size of the media in the media selector (only for media that was uploaded).

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

Shows the file size of uploaded images in the website media selector, so you can spot heavy images before using them on your pages.

When you pick an image in the website editor, the media selector normally lists the images you have uploaded without telling you how big they are. This module adds the file size next to each uploaded image, displayed in kilobytes (kB).

  • The size only appears for images that were uploaded to Odoo; images added by URL are not shown with a size.
  • The size is colour-coded to warn you: sizes above roughly 100 kB are highlighted as a warning, and sizes above roughly 1,000 kB (about 1 MB) are highlighted as a danger.

This helps website editors avoid using very large images that slow down page loading. The change appears inside the image dialog of the website editor, in the list of existing images, and it works together with the standard image widget of the web editor. No new menus, models or business documents are created; the module only extends the website editor interface.

Depends on

website

Text generated by AI (DeepSeek) from reading the Odoo 12.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: 1 confirmed, 8 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 12.0

To use this module, you need to:

  • Go to the media selector
  • You'll see the size in kB in the left top corner of the media item

No verified information in OCA: Installation, Configuration.

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.