Hi everyone,

Im having a problem on a website im developing where images and graphic banners are not being displayed even though they were being displayed successfully previously and I just wondered what the problem could be? Could it be a memory problem with having too many images and videos uploaded to the website? And whats the best and most cost effective way to resolve this issue?

Also please note that i am currently using a shared hosting package
with 300 gb disk space and 3,000 gb monthly allowance.

Many thanks.

Dani AI

Generated

Brief, practical troubleshooting and next steps (builds on , and without repeating their tool suggestions).

Start by confirming whether the image itself is reachable. Open the image URL directly in a browser and use a terminal to fetch headers so you can see the HTTP status and Content-Type:

curl -I "https://your.site/path/to/image.jpg"

Status 200 means the file was returned; 404 means the path/name is wrong or the file was removed; 403 usually indicates permission, ownership or hotlink-referrer blocking. Check the Content-Type header (should be e.g. image/jpeg); more on headers at MDN: Content-Type. Use the browser Network panel (see Chrome DevTools Network) to filter requests by Images and inspect response codes, sizes and cache behavior.

Common causes and how to test/fix

  • Wrong path or case mismatch (Linux hosting is case-sensitive): verify filename exactly matches src.
  • Server-side routing or .htaccess rewrite rules catching static files: ensure rewrites exclude image extensions.
  • File permissions/ownership preventing reads: files usually 644, directories 755. Example fixes (use carefully, and back up):
    chmod 644 /path/to/image.jpg
    chmod 755 /path/to/images-directory
    chown -R webserveruser:webservergroup /path/to/site   # only if you know the correct user
  • Disk quota or inode exhaustion on shared hosting: use hosting control panel or run df -h and df -i if you have SSH.
  • Hotlink protection, CDN or caching: purge CDN and check referrer-based blocking in control panel.

If images were displayed before, focus on recent changes: deployments, .htaccess edits, new security rules, or files moved/deleted. For bulk optimization (without Photoshop/Lightroom), modern options include converting to WebP or using tools such as Squoosh, TinyPNG, jpegoptim/pngquant or server-side conversion; see WebP info.

Keep copies of originals before changing permissions or converting formats. When contacting the host, include an example curl -I response and any relevant error-log lines so they can pinpoint the server-side cause.

Recommended Answers

All 5 Replies

if u think it might be becouse of your hosting package just check it out how more on oyur 300 gb disk space and 3,000 gb monthly allowance you have left

Hi Karol

Thanks for the advice and i will do that later today. Do you know the best software to compress images with? I want something that will give the greatest compression to each image but that also maintains a very good quality too.

Member Avatar for Member #334542

Use photoshop and get the quality whatever you want. There you have an option to save the images for web.

Thanks Rajarajan07,

I will try Photoshop as you suggested and see how it works. Thanks again for all your advice.

you could also try lightroom...it is kinda like a mini-photoshop..and I think it has some features which will help you edit the images in bulk

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.