Author Topic: Issues with image displaying  (Read 392 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Issues with image displaying
« on: August 13, 2025, 04:23:39 AM »
Hi,

A few days ago I started seeing some (not all) images on 2 different server running CWP start displaying weird. These images are either blacked out (lost their color) or a image with yellow would display red.

I'm thinking it might be related to Nginx & Varnish & Apache. That's what I have configured. Hopefully I've explained this well enough.

Has anyone else experience this issue? If so, what's the fix?
BTW, the images display fine when I download them to my laptop via FTP.
 

Offline
*****
Re: Issues with image displaying
« Reply #1 on: August 13, 2025, 02:29:37 PM »
Never seen that. Can you give us a link to examine an example of the problem?

Offline
*****
Re: Issues with image displaying
« Reply #2 on: August 14, 2025, 12:40:42 AM »
Or post a screenshot.

What OS are you running?

Offline
***
Re: Issues with image displaying
« Reply #3 on: August 14, 2025, 10:14:58 PM »
Has the problem been appearing once the images were uploaded ? Did you upload the images over FTP or some PHP script (CMS) or in some other way ?

Offline
*
Re: Issues with image displaying
« Reply #4 on: August 15, 2025, 12:58:42 AM »
I'm running Centos 7 Nginx & Varnish & Apache stack.

These images have been on the server for years and displayed fine until recently. I even checked on my phone other PC, iPad all display the same. I switch back to just Apache thinking it might has something to do with NGIX or Varnish but nothing. The images are still discolored or some of the colors are inverted something. I was not able to attach a couple of examples it seems the forum will not allow it.

One of the images i deleted from the server and reuploaded it but it's still displaying the same. It's displaying fine on my laptop but when I load it on the server it's washed out/color is messed up. I can really explain lol

Offline
*
Re: Issues with image displaying
« Reply #5 on: August 15, 2025, 12:59:28 AM »
I'm running Centos 7 Nginx & Varnish & Apache stack.

These images have been on the server for years and displayed fine until recently. I even checked on my phone other PC, iPad all display the same. I switch back to just Apache thinking it might has something to do with NGIX or Varnish but nothing. The images are still discolored or some of the colors are inverted something. I was not able to attach a couple of examples it seems the forum will not allow it.

One of the images i deleted from the server and reuploaded it but it's still displaying the same. It's displaying fine on my laptop but when I load it on the server it's washed out/color is messed up. I can really explain lol

Offline
***
Re: Issues with image displaying
« Reply #6 on: August 15, 2025, 09:31:07 AM »
Do the images look bad when they are accessed over the direct links as demonstrated below ?

example:
https://domain.com/images/pic.png
https://domain.com/images/pic2.png

Or does some PHP script handles the images ?

example:
https://domain.com/img.php?pic=image.png
https://domain.com/img.php?pic=image2.png

Is there some nginx/apache module like mod_pagespeed ?

Offline
*
Re: Issues with image displaying
« Reply #7 on: August 16, 2025, 02:51:37 AM »
Do the images look bad when they are accessed over the direct links as demonstrated below ?

example:
https://domain.com/images/pic.png
https://domain.com/images/pic2.png

Or does some PHP script handles the images ?

example:
https://domain.com/img.php?pic=image.png
https://domain.com/img.php?pic=image2.png

Is there some nginx/apache module like mod_pagespeed ?

When I access them directly on the server it still displays weird. And this is happening on 2 different CWP servers. That's what leads me to thing it's CWP related.



Offline
*
Re: Issues with image displaying
« Reply #8 on: August 16, 2025, 02:54:47 AM »
No on mod_pagespeed atleast I can't find where it's loaded.

Offline
***
Re: Issues with image displaying
« Reply #9 on: August 16, 2025, 09:41:26 AM »
If you access the image over the direct link and it looks bad but if the image is downloaded from your server/vps on your local computer then opened using some image viewer and it looks good then it sounds very very strange.

I think you missed something.

Offline
*
Re: Issues with image displaying
« Reply #10 on: August 17, 2025, 08:31:36 PM »


Above is a screenshot of the same logo image, one on the left is the correct color the one on the right which is in the previewer in WP shows the "2" in black. I must be going a little crazy with this issue. Same image on the same server. I even moved this account to a second CWP server and it's the same issue.


Offline
*****
Re: Issues with image displaying
« Reply #11 on: August 17, 2025, 11:26:41 PM »
Looks like an issue with the WP theme.

What theme is it?

Themes are weird, have 1 no matter what you do, it centers the picture.

Offline
*****
Re: Issues with image displaying
« Reply #12 on: August 18, 2025, 12:31:19 AM »
You could try to optimize the image with Smush or Imagify; serve it off a CDN so it isn't processed or hosted locally if that is indeed a problem.

Offline
***
Re: Issues with image displaying
« Reply #13 on: August 18, 2025, 09:41:46 AM »


Above is a screenshot of the same logo image, one on the left is the correct color the one on the right which is in the previewer in WP shows the "2" in black.

Do you have some optimization plugins installed for your WP website ? Such plugins could create lightweight samples of the original images by reducing the size (height/weight), color palette, etc of the original images and then display the created sample images on the website to make it loading faster.

So I think there is such problem.