Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1266340
    Gerry
    Guest

    Hi

    The logo and other image quality is being reduced automatically when I upload to the Media Library. Is there any way to stop this?

    And will the solution remove the quality reduction on all the images on the site or do I need to re-upload them?

    Thank you
    Gerry

    #1266394
    #1267178

    Hi Victoria

    Those links refer to resizing the Media Library images which isn’t a problem as it allows full size images. However, even if I select full size images it looks like WordPress is still compressing images.

    I’ve set this site up using the Enfold Child theme. I’ve found advice on how to disable image compression in WordPress by pasting code into the theme’s functions.php file:

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

    …….

    If I make a change to the functions.php file will it change back during a theme update? I only usually change things via Quick CSS.

    Thanks for your help

    Gerry

    #1267187

    Hey Gerry,

    If you add the code to functions.php file of your child theme, updating will not overwrite it. It will only be overwritten if you add it to parent themes functions.php file :)

    Best regards,
    Yigit

    #1267205

    Many thanks, Yigit.

    Best wishes

    Gerry

    #1267209

    Hi,

    You are welcome, Gerry! Let us know if you have any other questions or issues and enjoy the rest of your day :)

    Best regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘How to stop automatic image quality reduction’ is closed to new replies.