Page 1 of 1

changing the filenames that are automatically generated

Posted: Tue Aug 07, 2018 4:24 pm
by JVaron
When Pano2VR generates all the output files and code, it automatically names all the files. Any mouse-over graphic gets a filename with "__o.png" or "__o.svg" on the end. The double-underscore in the filename has never been an issue until recently.

We have lots of clients that host their tours on a CMS that has problems with the double-underscore. Upon uploading their tours, the CMS automatically changes all the double-underscores to single-underscores, which essentially breaks all the mouse-over effects in the virtual tour. So then we have to manually make changes to the files on the server to make everything work.

We're trying to come up with a workable solution that is a bit less tedious, so my question is .... Is there any way for me to change how Pano2VR names these mouse-over files? Any change would obviously have to affect the filenames themselves, as well as their links in the skin.js file.

Any thoughts would help.

Re: changing the filenames that are automatically generated

Posted: Wed Aug 08, 2018 2:53 pm
by Hopki
Hi,
Thanks for the heads up on this, we may have a solution for this in the next beta release.
But for now there is no smart way, you can open the skin.js file and do a find and replace __o => _o but then you still have to rename all the images.
Regards,
Hopki