Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

  • »Oorthuisfotografie« ist der Autor dieses Themas

Beiträge: 57

Wohnort: Vlaardingen, Netherlands

Beruf: 360º photography, panoramic photography and gigapixel photography

  • Nachricht senden

1

Mittwoch, 25. April 2012, 11:59

Facebook error when posting a panoramic image with links to other folders

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?

Here's the panorama.

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

2

Mittwoch, 25. April 2012, 15:31

Because you are looking for the png files on facebook.com not your server. Prefix all your graphical elements with %SWFPATH%
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

  • »Oorthuisfotografie« ist der Autor dieses Themas

Beiträge: 57

Wohnort: Vlaardingen, Netherlands

Beruf: 360º photography, panoramic photography and gigapixel photography

  • Nachricht senden

3

Mittwoch, 25. April 2012, 15:58

I don't understand? The png's are on my server not on the facebook server?

When i adjust my code to point to the png's in the images folder in my project not in the root it's fine.

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

4

Mittwoch, 25. April 2012, 16:47

A facebook security error indicated the swf is trying to load assets out of its domain. Here facebook.com
Why: When its embedded into facebook the urls are relative to the domain it was embedded on.

this
../content/plugins/gyro.js
looks on
facebook.com/content...

Try my previous advice.

I couldn't get your tour to embed at all on my wall so I could not look further.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

  • »Oorthuisfotografie« ist der Autor dieses Themas

Beiträge: 57

Wohnort: Vlaardingen, Netherlands

Beruf: 360º photography, panoramic photography and gigapixel photography

  • Nachricht senden

5

Mittwoch, 25. April 2012, 17:26

Ok i understand now thanks for your explanaition.
So how do i need to prefix the url then? You said %SWFPATH% but the png's are in a content folder not located in my SWFPATH.

panorama with pano.xml/ pano.html/ pano.swf are in 360/bellaitalia/
png's and plugins are in: 360/content/

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

6

Mittwoch, 25. April 2012, 17:29

use ".." to traverse your directory structure using relative paths.

%SWFPATH%/../content
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

  • »Oorthuisfotografie« ist der Autor dieses Themas

Beiträge: 57

Wohnort: Vlaardingen, Netherlands

Beruf: 360º photography, panoramic photography and gigapixel photography

  • Nachricht senden

7

Donnerstag, 26. April 2012, 15:09

It worked thnx :)