You are not logged in.

> The forum rules have been updated. Please take a moment to read them.


#1 2010-11-28 14:27:22

vincen
Moderator
From: Grenoble, France
Registered: 2009-03-13
Posts: 777
Website

Intégrer une image en ligne dans une visite ?

Bonjour,

Je cherche désespérément à intégrer l'affichage sur un hotspot d'une image en surimpression au milieu de l'écran (image qui est en ligne sur mon serveur !). J'ai mis l'URL de mon image dans le champ URL mais quand je clique sur le Hotspot l'image apparait dans un nouvel onglet du browser et non au milieu de ma visite en surimpression ! Si je choisis HTML cela ne marche évidemment pas !

Une idée de comment faire cela ?

Merci,

Vincèn


Blog: http://www.skivr.com
My shop for panoramic photographs: http://magasin.skivr.com
Nodal Ninja 5 R-D16 on Benro Tripod + Ultimate R1 on Nodal Ninja P2 + Nikon D3X/D3/D90/D800 + Nikkor 10.5 + Nikkor 14/24 f/2.8 + Nikkor 70/200 f/2.8 + Sigma 150-500
Panogear + Papywizard sur Neo

Offline

 

#2 2010-11-28 14:43:14

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 9825
Website

Re: Intégrer une image en ligne dans une visite ?

Why not just use another copy of the image for the tour?


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm lenses, Nodal Ninja 5 Lite, Nodal Ninja 4 with R-D16, Agno's MrotatorTCS short.
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket, Agno's MrotatorA.
Merlin/Orion robotic pano head + Papywizard on Nokia 770/N800/N810 and Windows 8/XP/2K.

Offline

 

#3 2010-11-28 14:48:02

vincen
Moderator
From: Grenoble, France
Registered: 2009-03-13
Posts: 777
Website

Re: Intégrer une image en ligne dans une visite ?

mediavets wrote:

Why not just use another copy of the image for the tour?

impossible as it's an image refreshed automatically on website (generated by a camera) !

Vincèn


Blog: http://www.skivr.com
My shop for panoramic photographs: http://magasin.skivr.com
Nodal Ninja 5 R-D16 on Benro Tripod + Ultimate R1 on Nodal Ninja P2 + Nikon D3X/D3/D90/D800 + Nikkor 10.5 + Nikkor 14/24 f/2.8 + Nikkor 70/200 f/2.8 + Sigma 150-500
Panogear + Papywizard sur Neo

Offline

 

#4 2010-11-28 15:21:49

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 9825
Website

Re: Intégrer une image en ligne dans une visite ?

vincen wrote:

mediavets wrote:

Why not just use another copy of the image for the tour?

impossible as it's an image refreshed automatically on website (generated by a camera) !

Vincèn

OK - I understand now.

Two options:

1. Use the Link/HTML option - I think that should work although you suggest it doesn't.  I think this is the relevant krpano documentation - if I recall correctly the Link/HTML feature is in fact an implementation of the krpano HTML textfield plug-in:
http://krpano.com/plugins/textfield/

2. If you can control the name and location of the automatically generated camera image then make those (namre and location) match a 'dummy' image linked as Link/Object in PTP when creating the tour, such that the system overwrites that 'dummy' image with the automatically generated camera image.


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm lenses, Nodal Ninja 5 Lite, Nodal Ninja 4 with R-D16, Agno's MrotatorTCS short.
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket, Agno's MrotatorA.
Merlin/Orion robotic pano head + Papywizard on Nokia 770/N800/N810 and Windows 8/XP/2K.

Offline

 

#5 2010-11-28 16:00:09

vincen
Moderator
From: Grenoble, France
Registered: 2009-03-13
Posts: 777
Website

Re: Intégrer une image en ligne dans une visite ?

mediavets wrote:

1. Use the Link/HTML option - I think that should work although you suggest it doesn't.  I think this is the relevant krpano documentation - if I recall correctly the Link/HTML feature is in fact an implementation of the krpano HTML textfield plug-in:

Don't work, well at least not as expected as it opens a new page in browser to display the picture, so not good for me hmm

mediavets wrote:

2. If you can control the name and location of the automatically generated camera image then make those (namre and location) match a 'dummy' image linked as Link/Object in PTP when creating the tour, such that the system overwrites that 'dummy' image with the automatically generated camera image.

Too complicated and not easy for each update of the tour but that's a good idea wink

vincèn


Blog: http://www.skivr.com
My shop for panoramic photographs: http://magasin.skivr.com
Nodal Ninja 5 R-D16 on Benro Tripod + Ultimate R1 on Nodal Ninja P2 + Nikon D3X/D3/D90/D800 + Nikkor 10.5 + Nikkor 14/24 f/2.8 + Nikkor 70/200 f/2.8 + Sigma 150-500
Panogear + Papywizard sur Neo

Offline

 

#6 2010-11-29 14:24:19

ygilquin
Member
From: Challes les Eaux
Registered: 2010-09-29
Posts: 127
Website

Re: Intégrer une image en ligne dans une visite ?

My suggestion:
Create a new html (for example: mypopup.html) document with code describing what you want to be displayed in the popup. For example in your case, one image:

Code:

<img src="http://www.webcam-chambery.com/photos/mairie.jpg"/>

Add a link to this new document in html field (to your local mypopup.html) and set appropriate dimensions to make the popup fit with your content.
Enjoy smile


--
Yann G.
www.kolor.com

Offline

 

#7 2010-11-29 15:47:11

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 9825
Website

Re: Intégrer une image en ligne dans une visite ?

ygilquin wrote:

My suggestion:
Create a new html (for example: mypopup.html) document with code describing what you want to be displayed in the popup. For example in your case, one image:

Code:

<img src="http://www.webcam-chambery.com/photos/mairie.jpg"/>

Add a link to this new document in html field (to your local mypopup.html) and set appropriate dimensions to make the popup fit with your content.
Enjoy smile

Yann,

Did you try this? - I thought this would work too but I couldn't get to work.

My linked HTML file contains code like your suggestion:

Code:

<img src="http://www.islehamchurch.org.uk/images/logo_church.jpg"/>

When I run the tour I get an error message:


Uploaded Images

Last edited by mediavets (2010-11-29 15:48:18)


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm lenses, Nodal Ninja 5 Lite, Nodal Ninja 4 with R-D16, Agno's MrotatorTCS short.
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket, Agno's MrotatorA.
Merlin/Orion robotic pano head + Papywizard on Nokia 770/N800/N810 and Windows 8/XP/2K.

Offline

 

#8 2010-11-29 16:22:06

vincen
Moderator
From: Grenoble, France
Registered: 2009-03-13
Posts: 777
Website

Re: Intégrer une image en ligne dans une visite ?

ygilquin wrote:

My suggestion:Create a new html (for example: mypopup.html) document with code describing what you want to be displayed in the popup. For example in your case, one image:
Add a link to this new document in html field (to your local mypopup.html) and set appropriate dimensions to make the popup fit with your content.

Already thought about it but it opens a new tab/window in browser to display the picture so bad idea sad

Vincèn


Blog: http://www.skivr.com
My shop for panoramic photographs: http://magasin.skivr.com
Nodal Ninja 5 R-D16 on Benro Tripod + Ultimate R1 on Nodal Ninja P2 + Nikon D3X/D3/D90/D800 + Nikkor 10.5 + Nikkor 14/24 f/2.8 + Nikkor 70/200 f/2.8 + Sigma 150-500
Panogear + Papywizard sur Neo

Offline

 

#9 2010-11-29 16:28:02

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 9825
Website

Re: Intégrer une image en ligne dans une visite ?

vincen wrote:

ygilquin wrote:

My suggestion:Create a new html (for example: mypopup.html) document with code describing what you want to be displayed in the popup. For example in your case, one image:
Add a link to this new document in html field (to your local mypopup.html) and set appropriate dimensions to make the popup fit with your content.

Already thought about it but it opens a new tab/window in browser to display the picture so bad idea sad

Vincèn

It will if you link to a URL, but Yann  and I are talking about linking to HTML - which uses the krpano textfield plug-in to create a pop-up window within a tour.


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm lenses, Nodal Ninja 5 Lite, Nodal Ninja 4 with R-D16, Agno's MrotatorTCS short.
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket, Agno's MrotatorA.
Merlin/Orion robotic pano head + Papywizard on Nokia 770/N800/N810 and Windows 8/XP/2K.

Offline

 

#10 2010-11-29 17:37:25

ygilquin
Member
From: Challes les Eaux
Registered: 2010-09-29
Posts: 127
Website

Re: Intégrer une image en ligne dans une visite ?

mediavets wrote:

Yann, Did you try this? - I thought this would work too but I couldn't get to work.

Yes I did and it worked fine.


--
Yann G.
www.kolor.com

Offline

 

#11 2010-11-29 18:26:00

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 9825
Website

Re: Intégrer une image en ligne dans une visite ?

ygilquin wrote:

mediavets wrote:

Yann, Did you try this? - I thought this would work too but I couldn't get to work.

Yes I did and it worked fine.

On local playback or only when tour is on-line?

Any ideas as to why it didn't work for me?

I'm using Panotour Pro V1.5 RC1 on Windows XP 32-bit SP3.


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm lenses, Nodal Ninja 5 Lite, Nodal Ninja 4 with R-D16, Agno's MrotatorTCS short.
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket, Agno's MrotatorA.
Merlin/Orion robotic pano head + Papywizard on Nokia 770/N800/N810 and Windows 8/XP/2K.

Offline

 

#12 2010-11-30 07:29:01

vincen
Moderator
From: Grenoble, France
Registered: 2009-03-13
Posts: 777
Website

Re: Intégrer une image en ligne dans une visite ?

ygilquin wrote:

mediavets wrote:

Yann, Did you try this? - I thought this would work too but I couldn't get to work.

Yes I did and it worked fine.

Yep works fine here also smile http://visites.skivr.com/visites/7_Laux … index.html I have only one little problem, I have a white border around the picture. Select the green I on Pleynet or Snowpark (these ones are setup with 640*480 size in PTP) but I still have a white border around sad How to remove that ?

Thanks,

Vincèn


Blog: http://www.skivr.com
My shop for panoramic photographs: http://magasin.skivr.com
Nodal Ninja 5 R-D16 on Benro Tripod + Ultimate R1 on Nodal Ninja P2 + Nikon D3X/D3/D90/D800 + Nikkor 10.5 + Nikkor 14/24 f/2.8 + Nikkor 70/200 f/2.8 + Sigma 150-500
Panogear + Papywizard sur Neo

Offline

 

#13 2010-11-30 11:39:59

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 9825
Website

Re: Intégrer une image en ligne dans une visite ?

vincen wrote:

Yep works fine here also smile http://visites.skivr.com/visites/7_Laux … index.html
Vincèn

Does it work when played back locally from/on your Mac, or only after the tour is put on-line?


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm lenses, Nodal Ninja 5 Lite, Nodal Ninja 4 with R-D16, Agno's MrotatorTCS short.
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket, Agno's MrotatorA.
Merlin/Orion robotic pano head + Papywizard on Nokia 770/N800/N810 and Windows 8/XP/2K.

Offline

 

#14 2010-11-30 12:43:28

vincen
Moderator
From: Grenoble, France
Registered: 2009-03-13
Posts: 777
Website

Re: Intégrer une image en ligne dans une visite ?

mediavets wrote:

Does it work when played back locally from/on your Mac, or only after the tour is put on-line?

I never try it local because all I get is a big black window when I play it locally, visit doesn't work at all locally ! so I always put it online to test !

Vincèn

Last edited by vincen (2010-11-30 12:44:56)


Blog: http://www.skivr.com
My shop for panoramic photographs: http://magasin.skivr.com
Nodal Ninja 5 R-D16 on Benro Tripod + Ultimate R1 on Nodal Ninja P2 + Nikon D3X/D3/D90/D800 + Nikkor 10.5 + Nikkor 14/24 f/2.8 + Nikkor 70/200 f/2.8 + Sigma 150-500
Panogear + Papywizard sur Neo

Offline

 

#15 2010-11-30 13:32:17

ygilquin
Member
From: Challes les Eaux
Registered: 2010-09-29
Posts: 127
Website

Re: Intégrer une image en ligne dans une visite ?

mediavets wrote:

Does it work when played back locally from/on your Mac, or only after the tour is put on-line?

It worked locally for me.


--
Yann G.
www.kolor.com

Offline

 

#16 2010-11-30 15:26:03

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 9825
Website

Re: Intégrer une image en ligne dans une visite ?

ygilquin wrote:

mediavets wrote:

Does it work when played back locally from/on your Mac, or only after the tour is put on-line?

It worked locally for me.

Yann,

I'm still having problems with this. Perhaps you can tell me where I'm going wrong.

I'm running PTP 1.5 RC1 on Windows XP-32 with SP3.

Screenshot 1 - shows how I have configured the hotspot to link to HTML and the name of the HTML file.

Screenshot 2 - shows the content of that linked HTML file displayed in WordPad.

Screenshot 3 - shows the relevant section of the XML file generated by PTP.

Screenshot 4 - shows the error message displayed when attempting to run the tour locally.

Screenshot 5 - shows my edit of the XML to replace the 'include' tag contents with the contents of my linked HTML file.

Screenshot 6 - shows that the tour now plays as expected locally.

So what am I doing wrong with my linked HTML file?


Uploaded Images

Last edited by mediavets (2010-11-30 15:30:30)


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm lenses, Nodal Ninja 5 Lite, Nodal Ninja 4 with R-D16, Agno's MrotatorTCS short.
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket, Agno's MrotatorA.
Merlin/Orion robotic pano head + Papywizard on Nokia 770/N800/N810 and Windows 8/XP/2K.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson