Topic: Externally hosted gallery folder

Firstly I must state I am not a web developer I am a photographer (who likes to fiddle)

I have built a website with many juiceboix galleries that work great. However I am trying to speed up the loading of the site which I have done in several ways . . . One of which is to create multiple subdomains which host seperate files of my website which enables parrallell downloading of files and seems to have done a great job.

The thing I am struggling with it to get my juicebox gallery working when the baseURL is set to one of those different subdomains.

Here is the test page: http://www.jamesbroomephotography.com/test.html

I know the paths I have specified are correct as I have copied and pasted the URL into the browser and the files are there:
for example: http://gallery.jamesbroomephotography.c … uicebox.js

the baseURL is set to: http://gallery.jamesbroomephotography.c … index_new/

But it can't seem to find the gallery.xml file

Is there a way to get this to work?


Thanks

Re: Externally hosted gallery folder

James,
I don't have a solution, but a suggestion: try using the configUrl parameter described here: http://www.juicebox.net/support/config_ … ed-options.

Christoph

Re: Externally hosted gallery folder

tried configUrl - doesn't work

Got it to work in an iframe to which I don't need the full screen etc so it's good enough for me!

Thanks

Re: Externally hosted gallery folder

All the gallery files must be on the same domain (or subdomain) due  to the same-origin policy security restriction.
Please see this web page for further details.

An <iframe> will work as all the gallery files reside on a single domain (or subdomain) and the <iframe> simply loads the gallery's 'index.html' page.