Re: Path issue when main images are on another domain/server

Mike,

Thanks for looking into the issue. But :( unfortunetly it didn't help.

I changed the crossdomain.xml as you suggested and uploaded it to the root and all relevant directories on the remote server (hhuisjes.com). Then tested the index.html and still the same problem. Do I need to upload crossdomain.xml also to the server/domain where teh gallery is stored? I am not that familiar with the 'crossdomainPolicy'. From your support pages I understand that upload only to the server where the main images are stored should be OK!I believe this cannot be the cause of the problem because moving the mouse over the images will result in loading the images.

I deleted the lines as you suggested and tested index.html. No difference, so it's not an issue of conflicting .js scripts, isn't it.

Finally I replaced the code for direct linking as you suggested and tested index.html. Also no solution for the problem. Although I now get the Javascript error "svAPI not defined" where, before the replacement, I got "svAPI is empty or no object".

When you look carefully you see that index.html is not loading the images from the remote server (per PAGE) and stops loading the NEXT image.So it must be a bug somewhere in the loading instructions when you have your main images stored on another remote server.Do you agree?

Re: Path issue when main images are on another domain/server

Your images seems to be loading fine for me now, did you clear your browser's cache after making the change?

Do I need to upload crossdomain.xml also to the server/domain where teh gallery is stored?

As far as I know it should be located where your images are stored.

deleted the lines as you suggested and tested index.html. No difference, so it's not an issue of conflicting .js scripts, isn't it.

This is a separate issue.

Finally I replaced the code for direct linking as you suggested and tested index.html. Also no solution for the problem. Although I now get the Javascript error "svAPI not defined" where, before the replacement, I got "svAPI is empty or no object".

This is also a separate issue. You may have replaced too much, your page would look like this.

Re: Path issue when main images are on another domain/server

Mike Richards wrote:

What is the purpose of ?xml=+d in your galleryURL var?

XML has the issue that it will stay in the cache of the browser. By giving it a unique parameter (date) I hoped to achieve that each time the .xml is reloaded from the server. If this works (I'm not sure) you don't need to close the browser before you can see the effect of changes made in your .xml file.

Wirh regard to my problem/ issue: Any idee how to solve the problem (where to debug)?

Re: Path issue when main images are on another domain/server

XML has the issue that it will stay in the cache of the browser. By giving it a unique parameter (date) I hoped to achieve that each time the .xml is reloaded from the server. If this works (I'm not sure) you don't need to close the browser before you can see the effect of changes made in your .xml file.

Ok that makes sense just making sure I wasn't missing anything.

Every time we have seen an issue like this it is most likey either a cross domain issue or a hot-linking image protection issue. If the crossdomain.xml didn't do it for you, you should double check your servers setting and .htaccess to make sure you are not using image protection options.

Re: Path issue when main images are on another domain/server

Mike Richards wrote:

Every time we have seen an issue like this it is most likey either a cross domain issue or a hot-linking image protection issue. If the crossdomain.xml didn't do it for you, you should double check your servers setting and .htaccess to make sure you are not using image protection options.

I will see if this can be the case, but if so: WHY DO THE MAIN IMAGES ON THE REMOTE SERVER THEN LOAD IF I MOVE THE MOUSE OVER THE THUMBNAILS?

Maybe you can show me an example WHERE IT WORKS! I mean a example a a gallery made with the SV Picasa template V2.0.3 and gallery.xml modified with SimpleViewerPRO V2.1.x configuration options.

UPDATE:1. The remote server is UNIX and there is no .htaccess file on it2. The server with SV gallery is WINDOWS and I checked with the provider per phone; no hot-linking image protection and no firewall issue. He confirms that image-loading on mouseover cannot be possible when hot-linking image protection is the case on server or by firewall.

Re: Path issue when main images are on another domain/server

If everything else is the same except image location and it works when everything is on the same server and it does not work with the image in a remote location it's still sounds like a flash/server security issue and not a SimpleViewer problem to me.

Try the following since you aren't using the www subdomain in your URLs.

Re: Path issue when main images are on another domain/server

First of all I would like to thank you for helping me to solve this issue. It's very much appreciated! :)

Mike Richards wrote:

Try the following since you aren't using the www subdomain in your URLs.

I will try that (without any hope, because there are no subdomains on both servers) and report the effect Second reason I have little hope is that everything worked fine when I used SV Picasa template 1.9 (without Pro configuration options and using the original crossdomain.xml and the same 2 servers !!!!)UPDATE: Please wait with what I ask below; I can't hardly believe my eyes on what I see after replacing www. with *. in crossdomain.xml. Now it's time for more testing; will come later today with an update.

Mike Richards wrote:

You can see a crossdomain example working here:

This is not the example I would like to see, because it is with SVPro and not with SVPicasa template. Furthermore also the thumbimages are on the remote server as I see in the examples gallery.xml

Maybe you can delete the thumbs from the remote server and store them on your mrphotography-server first and see what happens. If test is OK, maybe a second test with the following code in the top line of the .xml to see if that is causing the problem:

Re: Path issue when main images are on another domain/server

I will try that (without any hope, because there are no subdomains on both servers) and report the effect Second reason I have little hope is that everything worked fine when I used SV Picasa template 1.9 (without Pro configuration options and using the original crossdomain.xml and the same 2 servers !!!!)

Yes, but there are major difference between SimpleViewer 1.x and 2.x, One of the bigest is that 1.x is ActionScript 2 and 2.x is ActionScript 3, Adobe made some big changes to how flash works between AS2 and AS3.