Files for wordpress

Everything concerning the Wordpress/Joomla/Drupal plugins
Post Reply
SebaPL
Posts: 15
Joined: Fri Aug 09, 2019 11:01 am
Location: Poznań, Poland

Hi All, I realize it is rather more to do with Wordpress than P2VR however it is probably very easy for most of you, I am not Wordpress expert and failed at posting the tour directly to the server instead of using ggpkg package. I am able to upload the ggpkg to the WP library and get direct link to the wp-content location like this one https://panostudio.pl/wp-content/upload ... apodolany/ but would rather have it in the folder located on the server like e.g. panostudio.pl/tours/. I tried adding whole output folder to this directory and it did not work, I also tried adding just index.html file to public_html folder and that did not work either. What am i doing wrong? Thanks in advance!
------------------------------------------------------------------------------------------------------
www.panostudio.pl
User avatar
Hopki
Gnome
Posts: 12999
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Firstly I have moved this topic to the correct forum.
You need to upload the package using the media link or the plugin will not see it and decompress it.

However what you can do is create a normal HTML5 output with files for external embedding, see: https://ggnome.com/doc/output-template-normal/
Pano2VR exports the output with the default folder name "output".
You can rename this but not any of the files inside.
Use FTP upload it to your folder of choice.

You can now use the shortcode to embed the pano, {ggpkg url='http://website/folder/project/index.html'}
That should work,
Regards,
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/
SebaPL
Posts: 15
Joined: Fri Aug 09, 2019 11:01 am
Location: Poznań, Poland

Hi Hopki
still did not manage to get that, I have uploaded full output folder after creating normal out put with files for external embed. The ggpkg is also uploaded to media library. I can see the tour from wp-content folder I am not able however to get that through direct link: https://panostudio.pl/tour/zielonypoligon/index.html. Should that not work now?
Attachments
server.png
server.png (40.04 KiB) Viewed 4019 times
------------------------------------------------------------------------------------------------------
www.panostudio.pl
User avatar
Hopki
Gnome
Posts: 12999
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Can you post the direct link to open the output?
Regards,
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/
SebaPL
Posts: 15
Joined: Fri Aug 09, 2019 11:01 am
Location: Poznań, Poland

Hi Martin
the direct link is: https://panostudio.pl/wp-content/upload ... nypoligon/
Thanks!
------------------------------------------------------------------------------------------------------
www.panostudio.pl
User avatar
Hopki
Gnome
Posts: 12999
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
I used this string using the Classic block:

Code: Select all

[ggpkg url='https://panostudio.pl/wp-content/uploads/2020/06/zielonypoligon/']
This embeds the pano in my test site but does not display the images due to a CORS error.
See: https://en.wikipedia.org/wiki/Cross-ori ... ce_sharing

If you were doing this on the same server then it should work OK.
Regards,
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/
Post Reply