I am developing an ASP.Net MVC application and on my dev machine, the application works as expected and, more importantly, the images mentioned in the CSS file also render correctly.
However, when I publish this application on the test server, the web application is working fine, but the images are not displayed.
If I change the URL in IE when testing the output from the test server, the image is returned, which means that the file is there, but it just will not appear on the browse page under normal use of the site.
I also tried alternative servers, but the result is the same.
To confirm, here is a line from a CSS page linking to an image ...
background-image: url('/Content/Images/Logo/myLogo.jpg');
Any suggestions?
Greetings
Brett
image asp.net-mvc
Brett rigby
source share