External URL

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
User avatar
Mark360
Posts: 39
Joined: Thu May 17, 2018 11:15 pm
Location: England and USA

Hi

Ok so you can use the external URL to load an image or video from another site into the pano. What I would like to know is how you would use a logic block to load several images to different nodes that are located in one file on another server.

For example:

External URL is Https://somesite.com/

Logic block

Trigger=Tags Comparison=contain Value=some_tag_name External URL:folder/image1.png

As I can not seem to get the images to show up in the pano when it is live on the web.
If it looks impossible you just have not found the right angle to view it from.
User avatar
Tony
Posts: 1341
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi Mark,

I've run into something similar and I think you need to have external URL's defined when the project loads.

You may be better creating the external image holders adding in the absolute URL and then using a variable to show and hide them based on the node you are visiting.

I'm actually doing the same thing in a tutorial I'm writing at the moment where I use external images for the thumbnails. I have to load them all at runtime and show and hide them based on mouseovers.

Maybe Hopki can provide an alternative solution?

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Guys,
What you also need is the site that is hosting the content needs to give permission for you to embed, as an example if you use a text box and iframe to display a web page, sites like ours or Google will not allow this and it is blocked. However sites like Wikipedia do.
Also with content the host will need Cross-Origin Resource Sharing (CORS) enabled.
As an example you would add a .htaccess file to your server: Header set Access-Control-Allow-Origin "*"
The "*" means all your site, or you can add a path to a folder so only this folder is allowed to share its content.
Google it as there is tones of information on it.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
Mark360
Posts: 39
Joined: Thu May 17, 2018 11:15 pm
Location: England and USA

Thank you both Tony and Martin for putting me on the right path. I am once again forward moving! :)

Tony are the tutorials that you are doing going to be for everyone or are you making a course about how to use Pano? Sorry to ask just absorbing info at a fast pace here and working through Martins examples etc.
If it looks impossible you just have not found the right angle to view it from.
User avatar
Tony
Posts: 1341
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi Mark,
Tony are the tutorials that you are doing going to be for everyone or are you making a course about how to use Pano?
The tutorials are for everyone, you can find Pano2VR and other software tutorials at https://tonyredhead.com/tipsandtutorials

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
User avatar
Mark360
Posts: 39
Joined: Thu May 17, 2018 11:15 pm
Location: England and USA

Sorry for the late reply Tony.

Thank you so much for posting them and allowing us to view them and learn.
If it looks impossible you just have not found the right angle to view it from.
Post Reply