• I have uploaded a test image to my site that was originally 1.6MB and 3600×3600 resolution at 300dpi.? However, once it gets to the site and I download it in the orders section of WooCommerce it has been scaled down to just 444KB at 2560×2560 at 96dpi.
    How can I fix this so the original image quality is preserved?

Viewing 1 replies (of 1 total)
  • Thread Starter Ethan5150

    (@ethan5150)

    Nevermind, I have fixed this with a functions.php edit:

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

    function td_big_image_size_threshold( $threshold, $imagesize, $file, $attachment_id ) {
    return 4096;
    }
    add_filter( ‘big_image_size_threshold’, ‘td_big_image_size_threshold’, 10, 4 );

Viewing 1 replies (of 1 total)
  • The topic ‘Image size gets scaled down’ is closed to new replies.