Image quality
-
Hi. I am having problems with the image quality on one of my sites. I am in the process of creating two versions of the same site – one for the USA and one for the UK.
On the UK site I used layouts of pages from the UK site which I exported via Divi (who I’ve already messaged about this issue and they say it’s nothing to do with them and that I should get in touch with you instead).
Here’s the problem(s)…
I uploaded the same picture to both sites and the quality on the UK site was 10KB whereas on the US site it was 88kb. The image is also blurred on the UK site but not on the US one.
Also, if I insert the same image onto both sites via its URL then the quality is also reduced on the UK site by the same degree.
For your reference, our USA site has the URL jigthingsdev.com
Our UK site has the URL Jigthings.co.uk
Our images are stored in a custom library media.jigthingsdev.com
The problem is most apparent on the blog pages. I have delayed changing the URLs of the images on the main pages until this problem has been sorted out.
Many thanksWP.com: Yes
Correct account: YesThe blog I need help with is: (visible only to moderators and staff)
-
Hello there,
Many thanks for reaching out.
It sounds like there could be a CDN issue at play here, whereby the image is compressed.
If Jetpack is in use and connected, I would recommend disabling Lazy loading as seen here: https://jetpack.com/support/lazy-images/
-
Thanks for getting back.
Jetpack is installed on the USA site but the Lazy Images feature is not enabled.
Jetpack is not installed on the UK site -
Since your site is not hosted with us, we’re limited to what we can help with and advise. But I can get you pointed in the right direction to get help.
You can try disabling plugins until you see the image quality change; that’s likely the one causing the issue.
Otherwise, please reach out to the WordPress community for guidance and they should be able to better advise on how to narrow down the issue:
https://wordpress.org/support/forum/how-to-and-troubleshooting
I hope that helps!
-
Tried the plug-ins disabling and it didn’t work so I did some more hours’ research on the web. I think I may have found a solution, though I’m not sure. Ths is what I found:
“
WordPress 4.5
(I have 6.0.2)
JPEG compression is aggressive at 82% of the image quality. WPBeginner has a tutorial on how to disable JPEG compression with a single line:
add_filter(‘jpeg_quality’, function($arg){return 100;});
at the end of your theme’s functions.php file.”
I am tempted to try this but there are over 1,000 images on my sites. Would this change them all or would I have to reload each one afterwards?
If anybody knows would they please let me know. -
TThat came out wrong! Try again.
I tried the plug-ins disabling and it didn’t work so I did some more hours’ research on the web. I think I may have found a solution, though I’m not sure. Ths is what I found:
“WordPress 4.5 (I have 6.0.2) JPEG compression is aggressive at 82% of the image quality. WPBeginner has a tutorial on how to disable JPEG compression with a single line:
add_filter(‘jpeg_quality’, function($arg){return 100;});
at the end of your theme’s functions.php file.”I am tempted to try this but there are over 1,000 images on my sites. Would this change them all or would I have to reload each one afterwards?
If anybody knows would they please let me know. -
Hey there,
I’m glad to hear you’re nearing a solution there. With regards with having to reload the images after that line of code is added, is question for your hosting provider.
As far as I know, I don’t think you would need to anything further, but it’s best to check with them.
I can recommend the forums over at https://wordpress.org/support/forum/ to further help with this issue.
- The topic ‘Image quality’ is closed to new replies.