Home › Forums › Support › How to Disable Image Compression in WordPress This topic has 3 replies, 2 voices, and was last updated 5 years, 7 months ago by Tom. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts August 26, 2018 at 7:00 am #660274 _blank Hi How to Disable Image Compression in WordPress If I’m adding the following code to my theme’s functions.php file. Does it go in the Generate Press Child theme? add_filter(‘jpeg_quality’, function($arg){return 100;}); From tutorial here: https://www.wpbeginner.com/wp-tutorials/how-to-increase-or-decrease-wordpress-jpeg-image-compression/ Thanks Scott August 26, 2018 at 9:26 am #660446 TomLead Developer Lead Developer Hi there, It can be added using any one of these methods: https://docs.generatepress.com/article/adding-php/ August 26, 2018 at 9:31 am #660452 _blank Thanks Tom, August 26, 2018 at 9:33 am #660454 TomLead Developer Lead Developer You’re welcome 🙂 Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In