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/
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/
On 24/03/15 19:44, Chris Green wrote:
On Tue, Mar 24, 2015 at 07:25:20PM +0000, Chris Green wrote:
{SNIP}
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/
To me on my browser, both the isdb and zbmc versions look more or less the same - both have a directory listing only, with pictures showing only if I click on them. However, if I navigate to the Fancybox Demo directory, the pictures show as requested.
To me, all I see are jpgs in the MandyFlat directories. Without an HTM/HTML file, I won't see anything surely? Could it be you have an htm/html file and the permissions on it are wrong?
Good luck Steve
On Tue, Mar 24, 2015 at 09:58:36PM +0000, steve-ALUG@hst.me.uk wrote:
On 24/03/15 19:44, Chris Green wrote:
On Tue, Mar 24, 2015 at 07:25:20PM +0000, Chris Green wrote:
{SNIP}
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/
To me on my browser, both the isdb and zbmc versions look more or less the same - both have a directory listing only, with pictures showing only if I click on them. However, if I navigate to the Fancybox Demo directory, the pictures show as requested.
To me, all I see are jpgs in the MandyFlat directories. Without an HTM/HTML file, I won't see anything surely? Could it be you have an htm/html file and the permissions on it are wrong?
Ah, that's interesting. Yes, the demo works everywhere that I've put it.
I did have a file missing from the zbmc.eu version for a while, it's working for me again now though. I even have a third copy now, at:- http://isbd.uk/mandyFlat this works for me, it's remote on a Gandi server.
There's no HTML in the MandyFlat directory, there's a .htaccess file with a ReadName directive that executes /fancybox/fancybox.html. I have stared intently at permissions and can't see anything wrong.
On 24/03/15 22:41, Chris Green wrote:
On Tue, Mar 24, 2015 at 09:58:36PM +0000, steve-ALUG@hst.me.uk wrote:
On 24/03/15 19:44, Chris Green wrote:
On Tue, Mar 24, 2015 at 07:25:20PM +0000, Chris Green wrote:
{SNIP}
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/
To me on my browser, both the isdb and zbmc versions look more or less the same - both have a directory listing only, with pictures showing only if I click on them. However, if I navigate to the Fancybox Demo directory, the pictures show as requested.
To me, all I see are jpgs in the MandyFlat directories. Without an HTM/HTML file, I won't see anything surely? Could it be you have an htm/html file and the permissions on it are wrong?
Ah, that's interesting. Yes, the demo works everywhere that I've put it.
I did have a file missing from the zbmc.eu version for a while, it's working for me again now though. I even have a third copy now, at:- http://isbd.uk/mandyFlat this works for me, it's remote on a Gandi server.
There's no HTML in the MandyFlat directory, there's a .htaccess file with a ReadName directive that executes /fancybox/fancybox.html. I have stared intently at permissions and can't see anything wrong.
http://isbd.net/mandyFlat/ http://zbmc.eu/mandyFlat/ http://isbd.uk/mandyFlat/ all give me a directory listing. However the first gives just a directory with file headings at the very top, and underline at the very bottom. The second is the same but at the bottom it says "Apache/2.4.10 (Ubuntu) Server at zbmc.eu Port 80" The third is the same as the first but at the bottom it says '"This is some text'
So for me it's not working. No idea why. Good luck. Steve
On Wed, Mar 25, 2015 at 04:10:38PM +0000, steve-ALUG@hst.me.uk wrote:
On 24/03/15 22:41, Chris Green wrote:
On Tue, Mar 24, 2015 at 09:58:36PM +0000, steve-ALUG@hst.me.uk wrote:
On 24/03/15 19:44, Chris Green wrote:
On Tue, Mar 24, 2015 at 07:25:20PM +0000, Chris Green wrote:
{SNIP}
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/
To me on my browser, both the isdb and zbmc versions look more or less the same - both have a directory listing only, with pictures showing only if I click on them. However, if I navigate to the Fancybox Demo directory, the pictures show as requested.
To me, all I see are jpgs in the MandyFlat directories. Without an HTM/HTML file, I won't see anything surely? Could it be you have an htm/html file and the permissions on it are wrong?
Ah, that's interesting. Yes, the demo works everywhere that I've put it.
I did have a file missing from the zbmc.eu version for a while, it's working for me again now though. I even have a third copy now, at:- http://isbd.uk/mandyFlat this works for me, it's remote on a Gandi server.
There's no HTML in the MandyFlat directory, there's a .htaccess file with a ReadName directive that executes /fancybox/fancybox.html. I have stared intently at permissions and can't see anything wrong.
http://isbd.net/mandyFlat/ http://zbmc.eu/mandyFlat/ http://isbd.uk/mandyFlat/ all give me a directory listing. However the first gives just a directory with file headings at the very top, and underline at the very bottom. The second is the same but at the bottom it says "Apache/2.4.10 (Ubuntu) Server at zbmc.eu Port 80" The third is the same as the first but at the bottom it says '"This is some text'
I've finally got it working on http://isbd.net/mandyFlat/, the TsoHost hosting had some non-standard settings for the apache mod_autoindex module. I had to add the following to .htaccess and now it works:-
IndexOptions FancyIndexing HTMLTable
I don't know why you're not seeing the gallery type output, I've now removed the "This is some text", it was just put there for testing. You don't have javascript disabled do you?
On 25 March 2015 at 18:00, Chris Green cl@isbd.net wrote:
I've finally got it working on http://isbd.net/mandyFlat/, the TsoHost
I just see a directory listing type page.
Regards, Srdjan
On 25 March 2015 at 18:11, Srdjan Todorovic todorovic.s@googlemail.com wrote:
On 25 March 2015 at 18:00, Chris Green cl@isbd.net wrote:
I've finally got it working on http://isbd.net/mandyFlat/, the TsoHost
I just see a directory listing type page.
Oh and on both ISBD sites, if I click on a picture link, it opens some sort of weird javascript image viewer. But it still looks like Apache 1990's directory listing if I close the picture.
The other site just opens the picture in full screen.
Hope that helps...
Regards, Srdjan
On Wed, Mar 25, 2015 at 06:14:31PM +0000, Srdjan Todorovic wrote:
On 25 March 2015 at 18:11, Srdjan Todorovic todorovic.s@googlemail.com wrote:
On 25 March 2015 at 18:00, Chris Green cl@isbd.net wrote:
I've finally got it working on http://isbd.net/mandyFlat/, the TsoHost
I just see a directory listing type page.
Oh and on both ISBD sites, if I click on a picture link, it opens some sort of weird javascript image viewer.
That's what it's supposed to do! :-)
But it still looks like Apache 1990's directory listing if I close the picture.
Yes, again that's how it's supposed to be.
The other site just opens the picture in full screen.
I.e. not working.
On 25/03/15 20:50, Chris Green wrote:
On Wed, Mar 25, 2015 at 06:14:31PM +0000, Srdjan Todorovic wrote:
On 25 March 2015 at 18:11, Srdjan Todorovic todorovic.s@googlemail.com wrote:
On 25 March 2015 at 18:00, Chris Green cl@isbd.net wrote:
I've finally got it working on http://isbd.net/mandyFlat/, the TsoHost
I just see a directory listing type page.
Oh and on both ISBD sites, if I click on a picture link, it opens some sort of weird javascript image viewer.
That's what it's supposed to do! :-)
But it still looks like Apache 1990's directory listing if I close the picture.
Yes, again that's how it's supposed to be.
OK, but it would have been nice to know that, because when I originally said that's what I saw you said it was wrong. I had no clue that the javascript browser was what you wanted. I thought you wanted something like in the demo directory, not just a directory listing.
Steve
On Wed, Mar 25, 2015 at 09:31:29PM +0000, steve-ALUG@hst.me.uk wrote:
On 25/03/15 20:50, Chris Green wrote:
On Wed, Mar 25, 2015 at 06:14:31PM +0000, Srdjan Todorovic wrote:
On 25 March 2015 at 18:11, Srdjan Todorovic todorovic.s@googlemail.com wrote:
On 25 March 2015 at 18:00, Chris Green cl@isbd.net wrote:
I've finally got it working on http://isbd.net/mandyFlat/, the TsoHost
I just see a directory listing type page.
Oh and on both ISBD sites, if I click on a picture link, it opens some sort of weird javascript image viewer.
That's what it's supposed to do! :-)
But it still looks like Apache 1990's directory listing if I close the picture.
Yes, again that's how it's supposed to be.
OK, but it would have been nice to know that, because when I originally said that's what I saw you said it was wrong. I had no clue that the javascript browser was what you wanted. I thought you wanted something like in the demo directory, not just a directory listing.
OK, sorry, it's difficult to describe such visual things in words though.
On 25/03/15 18:14, Srdjan Todorovic wrote:
On 25 March 2015 at 18:11, Srdjan Todorovic todorovic.s@googlemail.com wrote:
On 25 March 2015 at 18:00, Chris Green cl@isbd.net wrote:
I've finally got it working on http://isbd.net/mandyFlat/, the TsoHost
I just see a directory listing type page.
Oh and on both ISBD sites, if I click on a picture link, it opens some sort of weird javascript image viewer. But it still looks like Apache 1990's directory listing if I close the picture.
The other site just opens the picture in full screen.
Hope that helps...
<AOL>Me too!</AOL>
On 25/03/15 18:00, Chris Green wrote:
I've finally got it working on http://isbd.net/mandyFlat/, the TsoHost hosting had some non-standard settings for the apache mod_autoindex module. I had to add the following to .htaccess and now it works:-
IndexOptions FancyIndexing HTMLTable
I don't know why you're not seeing the gallery type output, I've now removed the "This is some text", it was just put there for testing. You don't have javascript disabled do you?
I don't have javascript disabled - the demo works remember? The "This is some text" is still there for me. Still not seeing the gallery type output - just the directory listing style output.