How do you guys display PDF documents
How do you guys display PDF documents
I mean in a popup window as overlay in a tour.
Customer wants to show some more extensive information on certain items in a tour and it would be easiest if they could just deliver well designed and formatted documents as PDF.
Probably this has been asnwered before but unfortunately the search doesn't allow three letter words, and anything else didn't deliver a useful result.
Customer wants to show some more extensive information on certain items in a tour and it would be easiest if they could just deliver well designed and formatted documents as PDF.
Probably this has been asnwered before but unfortunately the search doesn't allow three letter words, and anything else didn't deliver a useful result.
- Hopki
- Gnome
- Posts: 8918
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Re: How do you guys display PDF documents
Hi,
This is quite straight forward todo.
Download the attached project.
How it works is you need to publish the project then copy in the PDF to the output folder.
The hotspot has an iframe in the hotspot description text field.
The point hotspot sets the text to the text box to display the PDF. The close button unloads the text box on close.
You will notice the close button is anchored top right of the screen. This is because the popup us responsive so its better to pin the close button up out of the way.
If you fix the size and position of the text box then you could put it top right of it.
This would be better with a screen tint rectangle so it darkens the pano bringing the PDF more in focus.
You can if needed add a title to the hotspot and a popup text box as the iframe is in the description text field.
Regards
Hopki
This is quite straight forward todo.
Download the attached project.
How it works is you need to publish the project then copy in the PDF to the output folder.
The hotspot has an iframe in the hotspot description text field.
The point hotspot sets the text to the text box to display the PDF. The close button unloads the text box on close.
You will notice the close button is anchored top right of the screen. This is because the popup us responsive so its better to pin the close button up out of the way.
If you fix the size and position of the text box then you could put it top right of it.
This would be better with a screen tint rectangle so it darkens the pano bringing the PDF more in focus.
You can if needed add a title to the hotspot and a popup text box as the iframe is in the description text field.
Regards
Hopki
- Attachments
-
- pdf.zip
- (4.01 MiB) Downloaded 147 times
Re: How do you guys display PDF documents
Whe I do as you said I only get a black rectangle outlining the space where the PDF is supposed to show up.
- Hopki
- Gnome
- Posts: 8918
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Re: How do you guys display PDF documents
Hi,
You need to copy in the PDF into the output folder. Open the project in Firefox to get around local browser restrictions if not using Pano2VR to open the HTML page.
Regards,
Hopki
You need to copy in the PDF into the output folder. Open the project in Firefox to get around local browser restrictions if not using Pano2VR to open the HTML page.
Regards,
Hopki
Re: How do you guys display PDF documents
I did that, of course
))
When I don't copy the PDF there is an error message insaide the rectangle reminding me to copy the PDF.
Firefox is my standard browser.

When I don't copy the PDF there is an error message insaide the rectangle reminding me to copy the PDF.
Firefox is my standard browser.
Re: How do you guys display PDF documents
Oh, and I just realized that when I click on the hotspot it downloads the PDF to my download folder ^^
So at least there is a reaction
So at least there is a reaction

Re: How do you guys display PDF documents
In Chrome it looks very good. I like the viewer. Is that browser dependent?
So how do I tell FF NOT to download a PDF but try to display it instead.
Note to self: Look at the settings, dude.
So how do I tell FF NOT to download a PDF but try to display it instead.
Note to self: Look at the settings, dude.
Re: How do you guys display PDF documents
Blimey, I found it, and now it does what it should.
So the only issue left is that the final user has to know about this as well.
Hm ...
Thank you Martin, that at least is what I was looking for
So the only issue left is that the final user has to know about this as well.
Hm ...
Thank you Martin, that at least is what I was looking for

Re: How do you guys display PDF documents
Hallo,
I've just tried this and it works fine, but just occasionally... Sometimes the pdf doesn't load and I got this message in the html console:
Resource interpreted as Document but transferred with MIME type application/pdf: "http://localhost:1756/dhApe-rU/test.pdf"
Thank you for your help!
I've just tried this and it works fine, but just occasionally... Sometimes the pdf doesn't load and I got this message in the html console:
Resource interpreted as Document but transferred with MIME type application/pdf: "http://localhost:1756/dhApe-rU/test.pdf"
Thank you for your help!
-
- Posts: 13
- Joined: Wed Apr 04, 2018 10:18 pm
Re: How do you guys display PDF documents
Hallo Hopki,Hopki wrote: ↑Wed Mar 09, 2016 10:20 pmHi,
This is quite straight forward todo.
Download the attached project.
How it works is you need to publish the project then copy in the PDF to the output folder.
The hotspot has an iframe in the hotspot description text field.
The point hotspot sets the text to the text box to display the PDF. The close button unloads the text box on close.
You will notice the close button is anchored top right of the screen. This is because the popup us responsive so its better to pin the close button up out of the way.
If you fix the size and position of the text box then you could put it top right of it.
This would be better with a screen tint rectangle so it darkens the pano bringing the PDF more in focus.
You can if needed add a title to the hotspot and a popup text box as the iframe is in the description text field.
Regards
Hopki
this is way how to put ONE PDF into the tour. Is there some way to put there more PDF dokuments? In´s not necessary to open PDF in window. Next bookmark will be ok. Do you have some advice?
Thanks,
Milos
-
- Posts: 13
- Joined: Wed Apr 04, 2018 10:18 pm
Re: How do you guys display PDF documents
SoFunnyUncle wrote: ↑Tue Dec 11, 2018 12:12 amHallo Hopki,Hopki wrote: ↑Wed Mar 09, 2016 10:20 pmHi,
This is quite straight forward todo.
Download the attached project.
How it works is you need to publish the project then copy in the PDF to the output folder.
The hotspot has an iframe in the hotspot description text field.
The point hotspot sets the text to the text box to display the PDF. The close button unloads the text box on close.
You will notice the close button is anchored top right of the screen. This is because the popup us responsive so its better to pin the close button up out of the way.
If you fix the size and position of the text box then you could put it top right of it.
This would be better with a screen tint rectangle so it darkens the pano bringing the PDF more in focus.
You can if needed add a title to the hotspot and a popup text box as the iframe is in the description text field.
Regards
Hopki
this is way how to put ONE PDF into the tour. Is there some way to put there more PDF dokuments? In´s not necessary to open PDF in window. Next bookmark will be ok. Do you have some advice?
Thanks,
Milos

Thanks.
Milos
- Hopki
- Gnome
- Posts: 8918
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Re: How do you guys display PDF documents
Hi,
Iv just given this an update.
To add the PDF using Pano2VR 6.0.1.
Go to the Advanced tab of the HTML5 output.
Use the add Assets to add the PDF file to the project.
Add the hotspot and set the Skin-ID to ht_pdf.
You
and put the path in the hotspots description text field.
Example: assets/test.pdf
If you want to change the graphics then first add then to the skin.
Position them in the same place in the tree and in the skin.
The element ht_image is the visible hotspot image you will replace.
The pdf_close button, make sure you copy all the actions and paste the into the new graphic.
Regards,
Hopki
Iv just given this an update.
To add the PDF using Pano2VR 6.0.1.
Go to the Advanced tab of the HTML5 output.
Use the add Assets to add the PDF file to the project.
Add the hotspot and set the Skin-ID to ht_pdf.
You
and put the path in the hotspots description text field.
Example: assets/test.pdf
If you want to change the graphics then first add then to the skin.
Position them in the same place in the tree and in the skin.
The element ht_image is the visible hotspot image you will replace.
The pdf_close button, make sure you copy all the actions and paste the into the new graphic.
Regards,
Hopki
- Attachments
-
- pdf.zip
- (4.02 MiB) Downloaded 25 times
Who is online
Users browsing this forum: No registered users and 8 guests