子页面图像无法加载

时间:2022-06-22 07:45:49

I'm trying to load images to this site:

我正在尝试将图片加载到此网站:

http://btwnthelin.es/wobology/

I've specified them with absolute path, relative path, and even partial path but still they're failing to load.

我已经用绝对路径,相对路径甚至部分路径指定了它们,但它们仍然无法加载。

What is the cause of this? I've not found very much documentation about this issue.

这是什么原因?我没有找到关于这个问题的很多文档。

I'm using the template fullpage.js, could that have something to do with it?

我正在使用模板fullpage.js,这可能与它有关吗?

1 个解决方案

#1


When I try to bring up http://btwnthelin.es/wobology/wobology.jpg directly, I get an error about permissions.

当我尝试直接调出http://btwnthelin.es/wobology/wobology.jpg时,我收到有关权限的错误。

**Forbidden**

You don't have permission to access /wobology/wobology.jpg on this server.


Apache/2.4.7 (Ubuntu) Server at btwnthelin.es Port 80

First, verify the path I posted is correct because that is where your page is looking. Then check the permissions.

首先,验证我发布的路径是否正确,因为这是您的页面所在的位置。然后检查权限。

And if the path is correct, the images are in the same path as the html, then you don't need to specify a path at all, just the image file name.

如果路径正确,图像与html在同一路径中,那么您根本不需要指定路径,只需指定图像文件名。

#1


When I try to bring up http://btwnthelin.es/wobology/wobology.jpg directly, I get an error about permissions.

当我尝试直接调出http://btwnthelin.es/wobology/wobology.jpg时,我收到有关权限的错误。

**Forbidden**

You don't have permission to access /wobology/wobology.jpg on this server.


Apache/2.4.7 (Ubuntu) Server at btwnthelin.es Port 80

First, verify the path I posted is correct because that is where your page is looking. Then check the permissions.

首先,验证我发布的路径是否正确,因为这是您的页面所在的位置。然后检查权限。

And if the path is correct, the images are in the same path as the html, then you don't need to specify a path at all, just the image file name.

如果路径正确,图像与html在同一路径中,那么您根本不需要指定路径,只需指定图像文件名。