| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 362 |
| Technical Name |
kw_html_image2attachment |
| License | LGPL-3 |
| Website | https://kitworks.systems/ |
| Versions | 14.0 15.0 16.0 17.0 18.0 19.0 |
What this module does
Scans HTML fields for inline base64-encoded images and converts them into ir.attachment records with normal URLs. Reduces HTML field size and database bloat from imported newsletter and product content.
Scans HTML fields
Walks selected models and fields, locates every inline base64 image and queues it for conversion.
Creates ir.attachment
Each detected image becomes a regular attachment with the correct mimetype and filename.
Replaces base64 with URL
The HTML field is rewritten to reference the new attachment URL instead of carrying the binary inline.
Frees up database size
Database row sizes drop and replication or backups become noticeably faster on image-heavy installations.
Need help?
Questions, customisation or paid support — we’ll get back the same business day.
Please log in to comment on this module
There is no Execute All button for multi line execution. Could you add that?
There is no Execute All button for multi line execution. Could you add that? I have thousands line to check and without the Execute All the mission is impossible. And if I execute any line in other pages, it will jump back to the first page.
There is no Execute All button for multi line execution. Could you add that?
This module adds cron "Convert HTML image to attachment" which will execute the tasks one by one. You just have to wait.
There are no comments yet!