Commit cbd38e7
committed
[FIX] website: convert images added to Image Wall to webp
Before this commit, when images are added to an Image Wall or to an
Image Gallery, they remained in their original format.
After this commit, images added to an Image Wall or an Image Gallery
are converted to webp.
Thanks to [1], the Image Gallery dataset entries related to the
conversion are preserved.
[1]: odoo@e73a1a9
task-3666894
X-original-commit: 6aaddd3
Part-of: odoo#170037
Signed-off-by: Benjamin Vray (bvr) <[email protected]>1 parent 6fd2f89 commit cbd38e7
File tree
1 file changed
+39
-2
lines changed- addons/website/static/src/snippets/s_image_gallery
1 file changed
+39
-2
lines changedLines changed: 39 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
| |||
420 | 424 | | |
421 | 425 | | |
422 | 426 | | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
423 | 434 | | |
424 | 435 | | |
425 | 436 | | |
| |||
497 | 508 | | |
498 | 509 | | |
499 | 510 | | |
| 511 | + | |
500 | 512 | | |
501 | | - | |
| 513 | + | |
502 | 514 | | |
503 | 515 | | |
504 | 516 | | |
505 | 517 | | |
506 | 518 | | |
507 | 519 | | |
508 | 520 | | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
509 | 543 | | |
| 544 | + | |
510 | 545 | | |
511 | | - | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
512 | 549 | | |
513 | 550 | | |
514 | 551 | | |
| |||
0 commit comments