Topic: Sub-domains

Hi.

I currently have Juicebox serving various galleries on one domain. What I want is to set up a sub-domain for a mobile version of my website. If I'm understanding it correctly, it's impossible for me to load files from the main domain on the sub-domain. Does that mean that the only way I can achieve this is to physically copy all my image files to the sub-domain?

Thanks.

Re: Sub-domains

You can load images from a different domain or subdomain (by using absolute URLs for the imageURL and thumbURL entries in the gallery's XML file) but the 'juicebox.js' file must be on the same domain or subdomain as the web page containing the gallery's JavaScript embedding code due to the same-origin policy.

Re: Sub-domains

That's perfect. I'll give it a shot. Thanks for your help :)