/    Sign up×
Community /Pin to ProfileBookmark

Website will not show graphics images or CSS commands, only text content.

I am working on a website for a small company. The previous programmer created an MVC based C#/HTML website with graphics and lots of CSS, etc. However, when I run it, on any browser, I only see text. When I run F12 debug it tells me that none of the images can be displayed. It’s maddening.

I have checked for the existence of the images and proper pathing etc. Also the CSS is formed properly and in the correct location in the project. I cannot figure this out. Any ideas would be welcome.

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@rtretheweyJul 09.2016 — There's going to be a simple explanation. It's bound to be an improper setting somewhere in the dynamic side of the site that's not generating the correct URLs for the external resources.

Load the page in your browser and view the generated source. The values in the 'href' and 'src' attributes will show you the URLs where the HTML is expecting the resources to be found, and the difference between those URLs and the actual URLs for the resources should help you locate the problem. This problem often manifests itself when the generated URLs begin with "C://", indicating that the software is set to resources directly from the development system's hard drive, or URLs that contain file name directory names that have case-mismatch issues (upper-case/lower-case/mixed-case) that the server doesn't recognize or support, or there may be an issue with relative addressing (URLs that do not begin with 'http(s)://'). I'd expect that there's a configuration file somewhere in your development software that has at least one variable for the base URL or similar pointer that's improperly set. Once you determine where the URLs are set and what's wrong with them, the solution should be pretty clear.
Copy linkTweet thisAlerts:
@FrontEndDev99Aug 02.2016 — Your links are not correct. Did you move the index page?
×

Success!

Help @IrvAdams spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...