HTML-无法加载图像的给定URL

HTML-无法加载图像的给定URL,html,Html,我没有在浏览器中显示图像。我尽了最大努力,但没有成功。请帮忙 这是我的目录结构:-> MyProject/ images/ ->Logo.png ->background.png js/ styles/ ->style.css index.php 我这样称呼图像:-> <section id="pageContent"> <div class="container">

我没有在浏览器中显示图像。我尽了最大努力,但没有成功。请帮忙

这是我的目录结构:->

MyProject/
    images/
        ->Logo.png
        ->background.png
    js/
    styles/
        ->style.css
    index.php
我这样称呼图像:->

<section id="pageContent">
    <div class="container">
        <div class="logo">
            <img src="images/Logo.png" alt="Logo" width="100" height="100">
        </div>
    </div>
</section>
我使用LAMP作为服务器,目录结构位于/var/www/html/MyProject中

我尝试在FireFox中使用Firebug,但遇到了以下错误:->

无法加载给定的URL

如果我在浏览器中直接将路径写为localhost/MyProject/images/Logo.png,我会得到您没有访问此服务器上的/MyProject/images/Logo.png的权限。错误

我哪里出错了,请指出错误


我正在使用Ubuntu14.04 LTS 64位计算机。

chmod可能设置不正确或缺少mime类型请帮我解决。你可以在谷歌上搜索其中一个并应用相关知识。CHMOD是对文件的权限。无论您使用什么上传到服务器,都可以设置CHMOD。