简体   繁体   中英

<img src= url> Not showing image on index.php

I used following code on index.php and it is 100% working on localhost, but not appear image on live server "www.chitthu.co".

  <div class="block">
  <img src="/img/step-1.png" style="width:20%; height:20%; margin:5px;">
    <h3>Join Chitthu</h3>
    <p>
      Signing up takes two
      minutes <br>to get a Chitthu account.
    </p>
  </div>

s tep-1 to S tep-1.

It seems that your server is case sensitive , which means S and s is very different.

Open your directory :

www.chitthu.co/img/

You don't have this image:

www.chitthu.co/img/step-1.png

You have:

www.chitthu.co/img/Step-1.png

Your directory:

在此处输入图片说明

试试这个步骤1 http://www.chitthu.co/img/Step-1.png

<img src="http://www.chitthu.co/img/Step-1.png" alt="Step-1"/>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM