You are not logged in.

BriarB

Beginner

  • "BriarB" started this thread

Posts: 23

Location: New Zealand

Occupation: Professional Photographer

  • Send private message

1

Thursday, September 15th 2011, 9:13am

Nadir Logo

I want to put a nadir logo in a tour, rather than just one panorama. It should stay still while the panoramas are rotated.
Could someone give me some clues?

Posts: 1,850

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

2

Thursday, September 15th 2011, 3:59pm

Please see the Nadir example that came with krpano, it does exactly this.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

BriarB

Beginner

  • "BriarB" started this thread

Posts: 23

Location: New Zealand

Occupation: Professional Photographer

  • Send private message

3

Sunday, September 18th 2011, 7:46am

Thanks for that idea Sasha, however I do not want the logo to rotate at all even when the panorama does. I have got it working in Pano2Vr but I can't quite get it right here. For the client, they always see the logo the right way round.

4

Sunday, September 18th 2011, 8:03am

Just set
rotatewithview="true"

of the hotspot that handles the nadir. That's all.

Michael


BriarB

Beginner

  • "BriarB" started this thread

Posts: 23

Location: New Zealand

Occupation: Professional Photographer

  • Send private message

5

Sunday, September 18th 2011, 9:35am

Thanks for that advice Micheal- now got the nadir sorted, as below.

<hotspot name="nadirlogo"
url="nadir2.png"
keep="true"
ath="0"
atv="90"
distorted="false"
zoom="false"
scale="2"
rotate="0.0"
rotatewithview="false"
onclick="action(openurl(http://www.assetimaging.co.nz);"
/>

THe only thing that will not work is the link through to my website- what have I done/not done here?

6

Sunday, September 18th 2011, 9:40am

There is a ")" missing at the end of the line :-)
Michael

BriarB

Beginner

  • "BriarB" started this thread

Posts: 23

Location: New Zealand

Occupation: Professional Photographer

  • Send private message

7

Monday, September 19th 2011, 3:13am

Thanks Gomi, I have tried that but still can't get it right. Could you/someone alter this line for me?

onclick="action(openurl(http://www.assetimaging.co.nz);"

Here is the tour, please don't comment on the lousy stitching (all freehand) but more the look of the tour.

http://www.assetimaging.co.nz/krpano/exa…ne/kidzone.html

Posts: 1,850

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

8

Monday, September 19th 2011, 5:04am

Remove action or add another parenthesis. Its basic programming syntax to end what you start. Parentheses, tags .. Its all the same just like html tags.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

9

Monday, September 19th 2011, 7:39am

sachagriffin already gave the answer. Either of both versions is ok:
onclick="openurl(http://www.assetimaging.co.nz);"

onclick="action(openurl(http://www.assetimaging.co.nz);)"

Michael

BriarB

Beginner

  • "BriarB" started this thread

Posts: 23

Location: New Zealand

Occupation: Professional Photographer

  • Send private message

10

Monday, September 19th 2011, 10:42am

On a scale of 1 -10 my programming skills are minus 2, so what is obvious to others.....
Thanks for the help, I see the point you make, however the line still does not work, I must be missing something else.

11

Monday, September 19th 2011, 11:48am

Do you make your tests locally or with a live server? The documentation says:
"This means the action will work offline/locally only when the security settings of the Flashplayer were adjusted."

Michael

BriarB

Beginner

  • "BriarB" started this thread

Posts: 23

Location: New Zealand

Occupation: Professional Photographer

  • Send private message

12

Friday, September 23rd 2011, 6:07am

Both, just to be sure.

When I click on the nadir logo nothing happens at all, but the link itself works fine.
So I guess it has to be somewhere in the "onclick" command.

<hotspot name="nadirlogo"
url="nadir2.png"
keep="true"
ath="0"
atv="90"
distorted="false"
zoom="false"
scale="2"
rotate="0.0"
rotatewithview="false"
onclick="action(openurl(http://www.assetimaging.co.nz);)"

Does the onclick action here actually refer back to the nadir2.png?

This post has been edited 1 times, last edit by "BriarB" (Sep 23rd 2011, 10:38am)


Posts: 1,850

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

13

Friday, September 23rd 2011, 4:48pm

Again... try my suggestion from September 19th.

onclick="openurl(http://www.assetimaging.co.nz)"
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

14

Sunday, November 27th 2011, 3:01pm

Btw: this one works fine at my Tour!

Thanks

15

Tuesday, August 20th 2013, 5:54pm

nadir logo

hi, i m new here. i have tried as per below.
however, my nadir logo is aligned its orientation to my computer screen,
instead of aligning with element in the panorama.

what i mean is something like i patch a nadir logo into my pano's floor with photoshop.
but instead of using photoshop, i want to do it in krpano.

HOW TO DO? *confused* can someone share your experience? thks.

kelvinLau

url="nadir2.png"
keep="true"
ath="0"
atv="90"
distorted="false"
zoom="false"
scale="2"
rotate="0.0"
rotatewithview="false"
onclick="action(openurl(http://www.assetimaging.co.nz);)"

16

Wednesday, August 21st 2013, 8:55am

sorry all,

my stupid question was raised & answer some where as below:

Locked Nadir logo

next time i search the forum 1st. thks and sorry.

kelvin lau