• Hello,

    I run a photography website and I’m finding it nearly impossible for my images to display in full quality on any given page. It looks terrible.

    There are 2 conventional solutions which I’ve attempted: downloading plugins to prevent compression and modifying my theme’s functions.php document to disable WordPress’ default 82/90% compression setting. I’ve tried both of these, re-uploaded my images, and they still look like junk when inserted into any page!

    I should note that by using my browser’s element inspector, I’m able to go directly to the image’s .jpg URL where it appears just fine. The issue seems to exist when put directly on a page.

    Please help. I can’t find anything online.

Viewing 1 replies (of 1 total)
  • If you have gotten your images onto the server with the compression setting the way you prefer, it’s just a matter of how you choose to put the image into a page and how the theme is displaying it. (The image sizes generated are based on the Media size settings at the time of upload.)

    When inserting an image into a page, you choose the size, which for anything other than Full, one of the smaller versions of the image will be used. And then the theme sets the content_width variable so that the image srcset attribute can be computed for the browser to choose the image appropriate to the user’s browser width.

    It probably doesn’t actually look terrible. Your eye might be trained to see tiny differences in resolution, but most people can only see about 72dpi.

Viewing 1 replies (of 1 total)
  • The topic ‘Fixing unwanted image compression beyond functions.php and plugins’ is closed to new replies.