[Solved] Why are my images broken when loaded via JavaScript?


In case anyone has similar problem, I’ve found the bug in my solution, it wasn’t easy to find.

The server I used has CASE SENSITIVE file system, and my image’s real file names were e.g. “a.JPG”, instead of “https://stackoverflow.com/questions/10942338/a.jpg” as in code! Of course, this wasn’t a problem on my local, case-insesitive file system, only on server.

I had no idea that server file systems could be case sensitive, now I know… 🙂

2

solved Why are my images broken when loaded via JavaScript?