This module allows the user to manually apply compression and resize options on an image.
auto_awesome What this module does
AI-generated from the code · Odoo 12.0Adds an 'Advanced Optimization' button to the website image picker so users can resize and compress an existing image before using it on a page.
When editing a website page and choosing an image from the media dialog, an extra compress icon appears next to each existing image (not for documents or URL images). Clicking it opens an 'Advanced Optimization (for images)' dialog.
In that dialog the user can: - Set a new width and height; changing one automatically recalculates the other to keep the original proportions. - Set a JPEG compression level from 1 to 100 (default 100). A note explains that PNG files are compressed with the standard Odoo upload optimization.
Pressing Apply sends the chosen values to the server, which resizes the image only when both dimensions are positive and differ from the current size, then re-saves it with the requested quality. The optimized file is stored as a new attachment whose name gets an '_adv_opt' suffix (or an incremented number if it was already optimized), and the media dialog refreshes so the new version can be selected.
The module works on ir.attachment records and only adds a button and a dialog to the website editor; it does not add menus, models, or scheduled actions.
Depends on
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-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 12.0
Confirmed on 2026-11-03 in branch 12.0 of OCA/website.
terminal Installation and usage
OCA documentation · Odoo 12.0Usage
Source · Odoo 12.0To use this module, you need to:
- Enter the website in edit mode
- Select an image on website and double click on it
- Now a dialog opens with all your media
- Select tab 'Image'
- Click on a uploaded image (images from urls do not work)
- Click on the resize icon
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.