changing the filenames that are automatically generated

Q&A about the latest versions
Post Reply
Posts: 5
Joined: Tue Feb 14, 2017 4:41 pm

changing the filenames that are automatically generated

Post by JVaron » Tue Aug 07, 2018 4:24 pm

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.

User avatar
Posts: 9024
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK

Re: changing the filenames that are automatically generated

Post by Hopki » Wed Aug 08, 2018 2:53 pm

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.

Post Reply

Who is online

Users browsing this forum: Dinesh and 24 guests