Page 1 of 1

Newest Gallery embedding in Wordpress

Posted: Mon Nov 30, 2020 2:20 pm
by MAwengen
Hopki showed us a very nice way to build a gallery as an own pano2vr-tour which can easily embedded in tour. But when the tour is an embedded part of a wordpress portfolio blog the path assets/gallery/index.html doesn't work any longer.

My gallery's full path is: /var/www/vhosts/pm360.ch/ httpdocs/ wp-content/ uploads/ 2020/ 11/ OUTPUT_SALTS_NEW/ assets/ output_gallery/index.html. My question is, which part of this path must replace the path

<iframe src="assets/output_gallery/index.html" style="border:0px #ffffff none;" name="gallery" scrolling="no" frameborder="0" marginheight="0px" marginwidth="0px" height="100%" width="100%" allowfullscreen></iframe> in the iframe code in order to work correctly.

Thanks for any good hint.

Michael

Re: Newest Gallery embedding in Wordpress

Posted: Mon Nov 30, 2020 3:37 pm
by Hopki
Hi Michael,
You are quite right the plugin does not support this and there is a feature request for it.
However, you can upload a project using the "add files for external embedding" found in the normal.ggt.

1) Select the HTML tab as found under the HTML5 output
2) Select the Edit Template button
3) Select to add the files to the output

1.png
1.png (96.5 KiB) Viewed 6080 times

Upload the output folder, you can rename the folder but not any of the files inside.
So, for example, you rename it to "house_tour".

Go to your WordPress page, then add "Custom HTML".
Then type in the iframe:

Code: Select all

<iframe src="Your website URL/house_tour/index.html" width="100%" height="640" allow="fullscreen"></iframe>
Here is an example working on my test WordPress site: https://support.ggnome.com/wp/2020/11/24/gallery/
Regards,

Re: Newest Gallery embedding in Wordpress

Posted: Wed Oct 06, 2021 7:45 pm
by scottio
The https://support.ggnome.com/wp/2020/11/24/gallery/ embed example doesn't show on the page. Once I uploaded the output http://recircle.us/lib_output/index.html to my web server I get "Page not found". The landing page widgets in the genesis altitude pro theme doesn't accept a shortcode link so I'm looking for a way to show the tour in the div.