Created
February 10, 2015 23:44
-
-
Save paulvanbuuren/06774e187dc3316c7347 to your computer and use it in GitHub Desktop.
WordPress: Remove Automatic JPEG Compression
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// from: http://www.codeinwp.com/blog/wordpress-image-code-snippets/ | |
// ============================================================================ | |
// WordPress: Remove Automatic JPEG Compression | |
// ============================================================================ | |
add_filter( 'jpeg_quality', 'smashing_jpeg_quality' ); | |
function smashing_jpeg_quality() { | |
return 100; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment