我的PHP网站未在线加载所有图像,但当我在本地运行时全部加载了它们

时间:2019-05-24 18:00:41

标签: php

PHP网站在本地运行良好,但在线无法加载图片

我更改了所有图片标签,但没有任何更改 这是索引页的代码。

<!DOCTYPE html>
<html lang="en">
 <head>
   <?php include'includes/head.php'; ?>
 </head>
 <body>
    <?php $page = 'home';include'includes/navbar.php'; ?>

   <!--- Image Slider -->
    <div class="carousel slide" data-ride="carousel">
    <div class="carousel-inner">
        <div class="carousel-item active"><img 
              src="img/1webcatalogue.PNG">
          </div>
        <div class="carousel-item"><img src="img/landscaping1.JPG"></div>
        <div class="carousel-item"><img src="img/landscaping2.JPG"></div>
        <div class="carousel-item"><img src="img/landscaping3.JPG"></div>
        <div class="carousel-item"><img src="img/landscaping4.PNG"></div>

           </div>
            </div>
        <!--- End Image Slider -->

           <!--- Simple part -->
            <div class="container">
       <div class="row justify-content-center text-center">
         <div class="col-10 py-5">
            <h2>How we work</h2>
            <p class="lead">Simple, contact us once you find what you 
      like, or think we have what you want. Thank you.</p>
        </div>
    </div>
   </div>
   <!--- simple part -->
  <?php include 'includes/footer.php';?>

   <?php include 'includes/scripts.php';?>


   </body>
   </html>

其他所有功能都在起作用。 我想知道是什么问题。谢谢

0 个答案:

没有答案