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!

  • 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:

      XML
      <?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:

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

    Best regards,
    Klaus

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!