• I am installing wp on a localhost.
    I am also using framework ‘Bootstrap’.
    I have the website running well with the css, I realise some people have issues with loading css on wordpress.

    Although, none of the images (including the background image) aren’t loading at all and I don’t know why…

    this is what I have done with all the img tags

    [ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]

    <img src="/images/port4.jpg" alt="Portfolio 1">
    
    here is my folder
    
    wpbootstrap
     - bootstrap
          -> css, fonts, js, ...
    -  images
          -> imagesss... (.jpg/png)
    footer.php
    header.php
    index.php
    sidebar.php
    style.css
    
    css
    
    body {
    	background: url(../images/bgd_img.png) repeat;
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • Anonymous User 13290616

    (@anonymized-13290616)

    Can you kindly attach the full path to your images?

    Are you using Firebug or Chrome Developer Tools to see which error the server sends you back?

    You have the wrong code in your URL, two errors in all.

    you have:
    background: url(../images/bgd_img.png) repeat;

    should be:
    background: url("/images/bgd_img.png") repeat;

    Check the path of images, because currently images may have the url of server instead of localhost.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Image not working when loading on wordpress localhost’ is closed to new replies.