skip to Main Content

Kindly help me on what to do. The problem I’m facing right now is I am having difficulty on combining bootstrap with MVC4. The CSS is working, but unfortunately, images aren’t showing on the carousel, or any other part of the webpage.


Code is:
Code used

The prior steps I did before doing this is:
1. Installed bootstrap using Nuget.
2. Confirmed that the source of my images, is working, only that,
when I insert in within bootstrap code, it doesn’t work.
3. Cleared all files, restarted visual studio.
4. I also checked for the paths of the image and searched
it on stackoverflow and google.

Links I used:

Next and previous images in carousel not working
Twitter bootstrap images not showing

Help is greatly appreciated. Thank you! 🙂



  1. Maybe you should remove the ~ symbol in front of your img’s src attributes

    Login or Signup to reply.
  2. Try call img like this

    <img alt="" src="@Url.Content("~/Images/Cover/6.jpg")" />
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top