Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wordpress set image quality

// ADD TO FUNCTIONS.PHP FILE
////// SETTING IMAGE COMPRESSION FOR JPG'S

add_filter(‘jpeg_quality’, function($arg){return 100;});

// YOU CAN CHANGE "100" TO ANY NUMBER 1-100 (100 BEING HIGHEST)
Source by codeddesign.org #
 
PREVIOUS NEXT
Tagged: #wordpress #set #image #quality
ADD COMMENT
Topic
Name
7+3 =