Arthur suggested i should make a folder on my server with the buttons and plugins i standard use in my 360 pano's.
So i made a folder in the root named "content" in this folder i have 2 folders: "images" (with buttons etc in png format) and "plugins" with the xml's for gyro, views, smbtn etc.
In the folder of my panoramic image i have the tile folder and the html, and xml an js of my panoramic image.
When i view my pano on a desktop/ iMac it's fine, no errors etc. When i view it on iPad or iPhone same thing no errors, gyro works fine etc.
Now here comes the problem, when i click the facebook button in my pano and i want to share it to facebook it comes on my facebook wall. If you the click the pano on facebook it should open on my wall as an embedded pano. The image opens but there are no buttons and i get the error: security error for all the *.png files??? Does facebook have a problem embedding a pano where the buttons ar not in the same folder?