-1

I am making a website where one of the pages uses a JQuery thumbnail scroller script and a lightbox script to view the thumbnail in a larger image. The site works fine in Chrome and IE9, but in Firefox 12.0 and Opera 12.01 the images do not load when viewing on the internet, but everything is perfect when I view the pages locally on my machine running IIS.

Here is the Website

If anyone could give me any insight into why the images do not load I would be grateful as I have no idea what is going on with these browsers.

Thank you.

4

3 回答 3

2

将图像路径从更改game-images\1\1-gp-small.pnggame-images/1/1-gp-small.png

虽然您的本地 IIS 是基于 Windows 的系统,但您可以使用反斜杠 ( \),但您的 Online Machine 是基于 UNIX 的 Apache WebServer。Unix 需要斜杠 ( /) 作为路径分隔符。

你应该有类似的开发环境(本地和现场)来避免这样的错误。

于 2012-08-27T09:55:33.400 回答
1

将您的图像路径更改为 * game-images\1\1-gp2-big.png为 game-images/1/1-gp2-big.png

于 2012-08-27T09:56:36.063 回答
1

这是因为斜线错误。

看来IE可以修复它。

路径 IE: http ://deucalion0.co.uk/GameCenter/game-images/1/1-gp2-small.png

路径 FF: http ://deucalion0.co.uk/GameCenter/game-images \1\1-title-small.png

希望有帮助。

再见,

Ĵ

于 2012-08-27T10:03:47.117 回答