On Tue, Mar 24, 2015 at 07:25:20PM +0000, Chris Green wrote:
I am trying to make this simple method of showing pictures on the web work:-
http://www.nux.ro/archive/2012/10/Instant_image_gallery_with_Apache_s_mod_au...
On my home system (xubuntu 14.10 with apache) it works exactly as it should. However on my hosting at TsoHost it doesn't work, there are no obvious errors but the 'lightbox' style display simply doesn't happen, one just gets a standard directory display and clicking on the image files just opens them as it would without any of the jQuery stuff.
I have exactly the same layout (I think!) on both home and TsoHost, images in a directory called mandyFlat at document root and the jQuery bits and pieces in a directory called fancybox at document root. I have rsync'ed back and forth to make sure they're the same.
The problem seems to be that the in-line javascript at the end of the fancybox.html file isn't getting executed on the TsoHost installation for some reason.
It's very odd really as it's virtually all client side code so what difference can it make where the server is?
Can anyone suggest what's wrong?
The TsoHost installation is:- http://isbd.net/mandyFlat/
... and I've opened up my home system's firewall so the working (I hope) version is:- http://zbmc.eu/mandyFlat/