How to set max image quality for Jetpack?
-
Hello,
I found this post where it’s described how you can control Jetpack settings.
Jetpack Hooks: Control Jetpack CDN
I want to set the image quality to 100%.
Can somebody help with setting this up? I don’t know how to enable this feature.
<blockquote>How to change the way Jetpack CDN processes images By default, Jetpack automatically compresses images uploaded to the CDN. But some sites — say, a photography blog — may want to display images at the original quality, regardless of file size. This is where the jetpack_photon_pre_args filter comes in. function sa_custom_params( $args ) { $args['quality'] = 100; return $args; } add_filter( 'jetpack_photon_pre_args', 'sa_custom_params' ); In the above example, the quality parameter is set to 100, which means images will be uploaded at full quality. If you want to make even more customizations, there are a variety of supported query arguments to fine-tune how Jetpack processes your images.
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘How to set max image quality for Jetpack?’ is closed to new replies.