summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorSébastien Theys <seb@odoo.com>2019-06-04 15:11:16 +0200
committerSébastien Theys <seb@odoo.com>2019-06-04 22:14:13 +0200
commit87a35d42636e31642c8d1d0170c03c2689867a1e (patch)
tree2d5b540d1c12c312d5132460a14c1b6f162485d4 /addons/web/static/src/js/views/basic/basic_controller.js
parent76cf2ae82a45b9ffcf63b524944a42b7f5192b0c (diff)
[IMP] web, web_editor, *: add media image optimize dialog
* = website, website_blog The goal is to give the user an opportunity to optimize his images before using them. For this we introduce a preview/configuration dialog after every image upload, where appropriate default values are filled for the quality and resolution, based on where the image is going to be used. Since this is not going to be perfect all the time, we still allow the user to configure them, and we display a preview to ease this process. Indeed it is important for SEO and for usability in general that the images are as light as possible in size. Technically the original image is uploaded and saved first, and then it can be optimized. This way the upload only happens once, and the preview can be computed from the already saved image. task-1930726 PR: #31208
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions