Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter SVargo

    (@svargo)

    Try putting this in functions.php.
    I believe this fixed it.

    // Change the jpeg quality
    function gpp_jpeg_quality_callback($arg)
    {
    return (int)75;
    }

    add_filter(‘jpeg_quality’, ‘gpp_jpeg_quality_callback’);

    add_filter(‘widget_text’,’execute_php’,100);
    function execute_php($html){
    if(strpos($html,”<“.”?php”)!==false){ ob_start(); eval(“?”.”>”.$html);
    $html=ob_get_contents();
    ob_end_clean();
    }
    return $html;
    }

    Cheers

    Thread Starter SVargo

    (@svargo)

    Hey WalleP,
    I fixed this issue somehow, though quite some time ago. I believe I changed the jpeg quality

    “add_filter( ‘jpeg_quality’, create_function( ”, ‘return 100;’ ) );” to
    “add_filter( ‘jpeg_quality’, create_function( ”, ‘return 80;’ ) );”.

    Not sure though, but worth a try if you haven’t tried it yet.

    Cheers, hope you’ll fix it.

Viewing 2 replies - 1 through 2 (of 2 total)