Adding logo to vtour

  • I read the post by Alexey which suggested a line be added to the vtourskin120.skin file to include the logo image, and then copy the logo to the template/xml/skin/ folder. I did all this adding the line xmltemplate_additional_file=xml/skin/English_Optics_Logo-transp.png to the vtourskin120.skin file, but I am not seeing the logo in the vtour I created. What might I be missing?

    kwayne

  • Hi,
    1. templates/vtourskin120.skin add xmltemplate_additional_file=xml/skin/English_Optics_Logo-transp.png


    2. templates/xml/vtour.xml write the logo layer, for example

    Code
    <layer name="logo" type="image" keep="true" url="skin/English_Optics_Logo-transp.png" x="20" y="20" height="30" width="prop" />


    3. Add the image to the template/xml/skin/English_Optics_Logo-transp.png skin folder

  • Thank you for your help. I followed the steps you described. In the vtour.xml there was a long list of settings for skin_settings, and I added the logo setting right under those. I created a new vtour with these settings but I am still not seeing the logo. Where should it appear in the vtour?

  • Thank you for your help. I followed the steps you described. In the vtour.xml there was a long list of settings for skin_settings, and I added the logo setting right under those. I created a new vtour with these settings but I am still not seeing the logo. Where should it appear in the vtour?

    1. create a tour
    2. check the presence of the specified layer in the created tour.xml
    3. check the presence of the image file in the skin folder

  • Thanks. These steps provide a partial answer. The specified layer did not make it to the tour.xml nor did the image file make its way to the skin folder. So the next question is where to go from here?

  • As I checked the steps again, I discovered the skin file had been overwritten. I'm working in a docker container and failed to modify both files in the mount, thus one overwrote the other. But even after correcting that , the tour.xml did not include the added line: <layer name="logo" type="image" keep="true" url="skin/English_Optics_Logo-transp.png" x="20" y="20" height="30" width="prop" /> after creating a vtour.

    I have attached the skin & xml files to see if I have entered the code correctly. I have changed the extensions to txt so they will be accepted.

    vtour.txt

    vtourskin120.txt

  • create the vtour with the droplet, then edit the resulting xml files manually

    you cant create all custom stuff by droplet anyway, they're just the starting point.

    and... instead of making changes to templates/vtourskin120.skin or templates/xml/vtour.xml

    it would be better to duplicate a .config and its used .skin, and then customize them.

    in krpano Tools you can then choose that config for these kinds of tours.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!