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
Best indicator strategy for intraday trading
The Fantastic Four's New Enemies Are More Powerful Than Gods
Unit 30 Quiz: Idioms And Pronunciation
Restaurer Triple Vitrage
Chicago Neighborhoods: Lincoln Square & Ravenswood - Chicago Moms
Dollywood's Smoky Mountain Christmas - Pigeon Forge, TN
Dew Acuity
Top Scorers Transfermarkt
Phone Number For Walmart Automotive Department
Call Follower Osrs
27 Places With The Absolute Best Pizza In NYC
Noaa Weather Philadelphia
Produzione mondiale di vino
Music Archives | Hotel Grand Bach - Hotel GrandBach
Monticello Culver's Flavor Of The Day
Bill Devane Obituary
Lantana Blocc Compton Crips
Thayer Rasmussen Cause Of Death
Brutál jó vegán torta! – Kókusz-málna-csoki trió
Premier Reward Token Rs3
Cvs Appointment For Booster Shot
Echat Fr Review Pc Retailer In Qatar Prestige Pc Providers – Alpha Marine Group
Everything We Know About Gladiator 2
Vipleaguenba
Lcwc 911 Live Incident List Live Status
Nordstrom Rack Glendale Photos
Walgreens Tanque Verde And Catalina Hwy
Gopher Hockey Forum
Ubg98.Github.io Unblocked
Is A Daytona Faster Than A Scat Pack
Diakimeko Leaks
Bjerrum difference plots - Big Chemical Encyclopedia
Costco Gas Hours St Cloud Mn
Ihub Fnma Message Board
Sadie Sink Reveals She Struggles With Imposter Syndrome
Craigslist Comes Clean: No More 'Adult Services,' Ever
Amazing Lash Bay Colony
Rogold Extension
Missing 2023 Showtimes Near Mjr Southgate
Vlocity Clm
The Ultimate Guide to Obtaining Bark in Conan Exiles: Tips and Tricks for the Best Results
Kokomo Mugshots Busted
24 slang words teens and Gen Zers are using in 2020, and what they really mean
Rogers Centre is getting a $300M reno. Here's what the Blue Jays ballpark will look like | CBC News
Scarlet Maiden F95Zone
Craigslist Woodward
Kaamel Hasaun Wikipedia
Walmart Listings Near Me
Mytmoclaim Tracking
10 Best Tips To Implement Successful App Store Optimization in 2024
WHAT WE CAN DO | Arizona Tile
One Facing Life Maybe Crossword
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.