HTML5 integration of multiple exports

Q&A about the latest versions
Post Reply
JBuchel
Posts: 3
Joined: Thu Nov 22, 2012 3:46 pm

I've received multiple already exported 360° views and have to integrate them to a website with html5.

Example file structure:

Pictures:
product1/html5/images
product2/html5/images
product3/html5/images

Scripts:
skin/360dgview/object2vr_player.js
skin/360dgview/skin.js
skin/360dgview/images/autorotate.png (down.png / fullscreen.png and more...)
skin/360dgview-config.xml <-- contains the filepath to the images

Now I wisth to integrate javascripts and button-images just one time for all products. This step is possible by customize the skin.js and the html code, I've already done this task.
But the big problem is inside the xml-file, where the path to the images is.
Is ist possible to take the image path in the html code instead inside the xml file? Then I could generate this path dynamically.

Kind Regards!
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

HI,
Object2VR only exports this in the XML file: imagepath="images"
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/
Post Reply