Why can I not see the images on my website? | Encode (2024)

  • 108
  • Share:

There are several possible reasons why your images are not showing up on your pages as expected:

  1. The image fileis not located in the same location that is specified in your IMG tag.
  2. The image does not have the samefilename as specified in your IMG tag.
  3. The imagefileis corrupt or damaged.
  4. The imagefilenever actually gotuploaded.

Brokenlinksor images cannot be caused by problems on theserverside. They can only be caused by incorrectHTMLcoding or errors in uploadingimagefilesto ourservers.

Troubleshooting

Troubleshooting broken images should begin with the following steps:

  • Position your cursor over the broken image and right-click your mouse. A popup menu should appear with several options.
  • Left-click on the option to view Properties. The Properties dialog will display the Address/URLof the image as it is defined in yourHTMLpage. It should look similar to this:

    https://www.example.com/my-image-dir/myimage.png

Obviously, you want to substitute yourdomainname, subdirectory, and imagefilenames where appropriate. The two most common image formats in use on the web today are PNG and JPEG, but could also be GIF or the newer WEBP, so your image will, more than likely, end with either the .PNG or .JPEG extension.

TheURLthat is displayed in the property dialog shows the location that yourweb pageis tellingbrowsersto look for the image. Write down the path, or copy and paste it into your favourite text editor so that you can refer to it later.

Now that you know where the image is supposed to be and what it's supposed to be named, verify that it's there. Go to yourControl Paneland click on 'FileManager'. You will need to click on the public_htmlfolder. Thepathrepresented by "www.example.com" is your "public_html"directory, so the first place to go is to thatdirectory. Check and see if your image is in the correct directoryin thepaththat you have above and that the filename is correct.

You can also use yourFTPor SSH, log in to your account and navigate to thedirectorynamed in thepathyou've identified above. When you first log in to your account, you will be in your "root" or "system"directory(unless you have your client configured to automatically open in a subordinatedirectory.) Use the "cd" command to change directories inSSH.

Continue navigating until you reach the subdirectory (my-image-dir in the example above) in which your image (myimage.png in the example above) is supposed to be found. Once you're there, try to locate your imagefile(myimage.png in the above example).FTPclients will automatically display all thefileslocated in the currentdirectory. In SSH, to get adirectorylisting, type "ls -a" (without the quotes) and hit enter.

Chances are that by now you've discovered the problem. If the imagefileis not there, either put it there by clicking 'upload' in yourFileManager or adjust your image tag so that it reflects the correct location.

Here are some important things to remember:

  1. UNIXis CaSe SeNsItIvE. As far as ourserversare concerned, myimage.png, MyImage.PNG, and myimage.GIF are three completely differentfiles. Check yourfilename -- the filename in yourdirectoryand the filename in thepathincluded in yourweb pagemust match EXACTLY. If they don't, change one or the other so that they do.
  2. The case sensitivity issue holds true withdirectorynames, too. MyImageDir and myimagedir are treated as two distinctdirectorynames. Make sure thedirectorynames match, too.

And after all that if it still doesn't work -

If the systempathof the imagefilematches theURLof thebrowserpath*exactly*, and the image still doesn't show, then the imagefilemay be damaged or corrupt. Make sure the image loads on your local computer (try it out in yourbrowser) and thenuploadit again (in BINARY mode, if usingFTP).

If it still doesn't work, and you're a current customer, please ask for assistance by raising a web hosting support ticket. Or if not a current customer sign up for business class cPanel hosting today to get the support you deserve

Was this answer helpful?

Why can I not see the images on my website? | Encode (2024)
Top Articles
Can I Use the Same Bank Account for Two Businesses? (2024)
Aging and Diving
English Bulldog Puppies For Sale Under 1000 In Florida
Katie Pavlich Bikini Photos
Gamevault Agent
Pieology Nutrition Calculator Mobile
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Compare the Samsung Galaxy S24 - 256GB - Cobalt Violet vs Apple iPhone 16 Pro - 128GB - Desert Titanium | AT&T
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Craigslist Dog Kennels For Sale
Things To Do In Atlanta Tomorrow Night
Non Sequitur
Crossword Nexus Solver
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Shasta County Most Wanted 2022
Energy Healing Conference Utah
Geometry Review Quiz 5 Answer Key
Hobby Stores Near Me Now
Icivics The Electoral Process Answer Key
Allybearloves
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Marquette Gas Prices
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Vera Bradley Factory Outlet Sunbury Products
Pixel Combat Unblocked
Movies - EPIC Theatres
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Mia Malkova Bio, Net Worth, Age & More - Magzica
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Where Can I Cash A Huntington National Bank Check
Topos De Bolos Engraçados
Sand Castle Parents Guide
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Holzer Athena Portal
Hello – Cornerstone Chapel
Stoughton Commuter Rail Schedule
Selly Medaline
Latest Posts
Article information

Author: Delena Feil

Last Updated:

Views: 6394

Rating: 4.4 / 5 (45 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Delena Feil

Birthday: 1998-08-29

Address: 747 Lubowitz Run, Sidmouth, HI 90646-5543

Phone: +99513241752844

Job: Design Supervisor

Hobby: Digital arts, Lacemaking, Air sports, Running, Scouting, Shooting, Puzzles

Introduction: My name is Delena Feil, I am a clean, splendid, calm, fancy, jolly, bright, faithful person who loves writing and wants to share my knowledge and understanding with you.