Topic: When change wp-content/uploads to subdomain img.domain.com

Hi,
I must change the uploads folder to a subdomain:
http://domain.com/wp-content/uploads/20 … an0021.jpg
=> http://img.domain.com/2011/01/scan0021.jpg

But simple viewer doesn't work.

But it can work with other folder like:
http://domain.com/img/2011/01/scan0021.jpg

I've tried the latest version,
Could you please show me some guide for my problem,
Thanks,

Re: When change wp-content/uploads to subdomain img.domain.com

In order for a SimpleViewer gallery to function correctly, all your SimpleViewer files should be located on the same domain or subdomain due to the JavaScript same origin policy.
If you are storing your gallery's XML files on a different domain or subdomain to the other gallery files (which you are if you change your uploads folder from 'domain.com' to 'img.domain.com'), then this is likely to be the cause of the problem.
If it were only the images that you were moving (and not the XML files) you could try using a 'crossdomain.xml' file as in this FAQ:
When loading images from a different domain, the images don't load or I see a 'Security Sandbox Violation' error. How do I fix this?

Steven Speirs
SimpleViewer Support Team.

Re: When change wp-content/uploads to subdomain img.domain.com

Great, it worked!
Thanks so much.