Sie sind nicht angemeldet.

1

Dienstag, 20. August 2013, 12:10

Layer (images) on iPad not shown

hello,

I want to make a static overlay with different Images on my panoramas. If the Images are on the same server as the whole pano, it works perfectly. If I want to show any images from another server i do get an error:

ERROR: plugin[skin_logo] loading error: http://www.....

Does anybody knows if it is not possible showing external images on iPad?

Thank you!

2

Mittwoch, 21. August 2013, 08:59

Hi,

loading files/images from other domains is always a special case:

  • for Flash you would need to place a 'crossdomain.xml' file on the other server root folder that explicitly allows the access it,
    e.g. use this content for allow access for all:

    Quellcode

    1
    2
    3
    4
    5
    
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
    	<allow-access-from domain="*" /> 
    </cross-domain-policy>


  • for HTML5 you need to setup your server for sending the 'Access-Control-Allow-Origin: *' header with the files,
    see here: http://enable-cors.org/server.html

    When using an Apache-based server (the most common case), you do this by creating a '.htaccess' file your folder on the other domain with the following content:

    Quellcode

    1
    
    Header add Access-Control-Allow-Origin "*"

Best regards,
Klaus

3

Donnerstag, 22. August 2013, 14:15

super, hat funktioniert!!!

Vielen Dank für die schnelle Antwort.

LG