Prevent WordPress to compress your jpg images
Here I describe how you Prevent WordPress to compress your jpg images because by default, WordPress compress your uploaded jpg images
To do this just Open functions.php file from your theme folder and paste the following code below in the functions.php file:
add_filter('jpeg_quality', function($arg){return 100;});
Now Save the file.
Here I describe how you Prevent WordPress to compress your jpg images because by default, WordPress compress your uploaded jpg images
To do this just Open functions.php file from your theme folder and paste the following code below in the functions.php file:
add_filter('jpeg_quality', function($arg){return 100;});
Now Save the file.
Really helpful tips i hope to see more interesting blog in near future.Thanks for sharing this useful information.
ReplyDelete