Skip to content

Commit 800da30

Browse files
authored
Merge pull request #336 from cloudinary/fix/default-image-optimisations
set image_optimisation on by default
2 parents 8f49c45 + 50c46dd commit 800da30

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ui-definitions/settings-image.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
'title' => __( 'Image optimization', 'cloudinary' ),
2626
'tooltip_text' => __( 'Images will be delivered using Cloudinary’s automatic format and quality algorithms for the best tradeoff between visual quality and file size. Use Advanced Optimization options to manually tune format and quality.', 'cloudinary' ),
2727
'description' => __( 'Optimize images on my site.', 'cloudinary' ),
28+
'default' => 'on',
2829
'attributes' => array(
2930
'data-context' => 'image',
3031
),

ui-definitions/settings-video.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
'title' => __( 'Video optimization', 'cloudinary' ),
103103
'tooltip_text' => __( 'Videos will be delivered using Cloudinary’s automatic format and quality algorithms for the best tradeoff between visual quality and file size. Use Advanced Optimization options to manually tune format and quality.', 'cloudinary' ),
104104
'description' => __( 'Optimize videos on my site.', 'cloudinary' ),
105+
'default' => 'on',
105106
'attributes' => array(
106107
'data-context' => 'video',
107108
),

0 commit comments

Comments
 (0)