MyBB Community Forums

Full Version: Images stop showing without any change
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guy's

Sorry to make a few threads today but i sincerely want to understand an issue i am having with images that show up and then suddenly not showing up even if i made no change to the css or configuration.

All my path are correctly setup for board url and the images are located in images folder.

I have tried clearing my browser cache and even made another theme with same setup and images still not showing.

I am completely at lost about why this is happening so any tips will be greatly appreciated.

As an example i have upload a banner to replace the logo and then i add code to centre the banner and the banner vanish and removing the code didn't brought back the banner image.

If i right click on the hyperlink ''forum'' to see image in tab i get a 404 error.

I have enable redis cache for this board as additional info.

Here is my server block configuration for this board  :

server {
  
  server_name escapingthematrix.online www.escapingthematrix.online;

  root /home/pierre/public/escapingthematrix;

  location / {
    index index.php;
  }

  # Deny access to internal files.
  location ~ /(inc|uploads/avatars) {
    deny all;
  }

  location ~ \.php$ {
    fastcgi_pass unix:/run/php/php8.0-fpm.sock;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    include fastcgi_params;
  }


    listen 443 ssl http2; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/escapingthematrix.online/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/escapingthematrix.online/privkey.pem; # managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot


}
server {
    if ($host = www.escapingthematrix.online) {
        return 301 https://$host$request_uri;
    } # managed by Certbot


    if ($host = escapingthematrix.online) {
        return 301 https://$host$request_uri;
    } # managed by Certbot



  listen 80;
  
  server_name escapingthematrix.online www.escapingthematrix.online;
    return 404; # managed by Certbot




}


Here my board link : https://escapingthematrix.online/index.php

Regard Peter

OK i think i solved this one, in recent version of Photoshop they might have change the way png are saved so using the typical save a copy as png is not working but using export save for web(legacy) png show up perfectly.

But i still do not understand why the first png i made with save a copy as png work the first time i upload it and after another refresh it vanish, this one still baffled me as to why it work once and not after!