Script works in localhost but not on server

前端 未结 1 2021
失恋的感觉
失恋的感觉 2021-01-14 22:37

I have this problem where a code is working on localhost but not when I upload it to the server.

I want to implement this: Polaroid Photobar Gallery

Here\'s

相关标签:
1条回答
  • 2021-01-14 23:16

    seems like that the file system is case sensitive on the server, bug insensitive on your local machine.

    all images with suffix in lower case (*.jpg) could be loaded sucessfully, but upper ones (*.JPG) failed (404 not found). as your code always try to get the image with lower case

    on your website:

    enter image description here enter image description here

    It should be:

    enter image description here

    0 讨论(0)
提交回复
热议问题