• bocinet

    (@bocinet)


    Hey!

    For example: when i upload a 4339x6129px resolution image after the upload its only 1812x2560px resolution and when i’m attach this image to a post to a featured image the image will be more worse than 1812x2560px it is only 560×430 or 800×430 but some images will keep the original good quality even if the image is only 800×430 or 560×430, what’s wrong?

    I was tried to add these codes seperately to functions.php but nothing changes:

    add_filter(‘jpeg_quality’, function($arg){return 85;});
    add_filter( ‘jpeg_quality’, create_function( ”, ‘return 80;’ ) );

    And i disabled any kind of caching or CDN but nothing.

    Thanks

    • This topic was modified 6 years ago by bocinet.
    • This topic was modified 6 years ago by bocinet.
Viewing 3 replies - 1 through 3 (of 3 total)
  • corrinarusso

    (@corrinarusso)

    > when i upload a 4339x6129px resolution image
    Ugh.
    You don’t like your users ???? (that’s massive)

    > after the upload its only 1812x2560px resolution
    *Only* ?

    Don’t rely on WordPress to do the image editing for you. It tries of course, but does a poor job. Edit your images outside of WordPress first, then upload the image you want to use, at the size and resolution you want.

    Thread Starter bocinet

    (@bocinet)

    This was only an example but yes i tried to know what happens. 😀

    How can i turn off any kind off image crop function?

    corrinarusso

    (@corrinarusso)

    Pretty straight forward :
    https://www.wpbeginner.com/wp-tutorials/how-to-prevent-wordpress-from-generating-image-sizes/

    Make sure any edits to your functions file is in a child theme.

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

The topic ‘WordPress image quality is really bad’ is closed to new replies.