Hi
I've created a new, long form, tutorial that show how to build a skin that loads a PDF file in popup hotspot and automatically scales the PDF as the browser window scales.
Update: 15/10/18 - Thanks to Hopki, for his solution to the PDF issue. I've updated the tutorial to include this option.
Note: at this time the option to load an original PDF file into a hotspot is only available on the desktop. I’ll be posting an alternative ‘Mobile’ friendly addendum to this tutorial shortly.
https://tonyredhead.com/pano2vr/auto-re ... in-a-popup
There are a full set of tutorial files and the tutorial takes you step-by-step through the modification of an ht_info hotspot template to achieve the pdf presentation.
Comments and feedback welcomed.
Auto Resizing PDF in a Hotspot Popup
Last edited by Tony on Mon Oct 15, 2018 6:26 am, edited 3 times in total.
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
Hi, Let me know how you get on and if you find any errors or omissions.
cheers,
Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
Okay, seems as though there is a big issue opening a PDF file into an HTML page. Basically you can't!! or at least I haven't found a way. If anyone has any tips I'd love to hear them.
My alternative is a mobile friendly high res jpg, created by exporting the pdf as jpg's, and implemented using the workflow covered in my tutorial https://tonyredhead.com/pano2vr/hotspot ... reen-image
I've used the 'isMobile' trigger to show either the pdf version or the jpg version.
Here's the result: https://s3-ap-southeast-2.amazonaws.com ... index.html
Tony
My alternative is a mobile friendly high res jpg, created by exporting the pdf as jpg's, and implemented using the workflow covered in my tutorial https://tonyredhead.com/pano2vr/hotspot ... reen-image
I've used the 'isMobile' trigger to show either the pdf version or the jpg version.
Here's the result: https://s3-ap-southeast-2.amazonaws.com ... index.html
Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
- Hopki
- Gnome
- Posts: 13029
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Hi Hopki,
Okay, on my Samsung S8, clicked on the hotspot and it resulted in an automatic download of the pdf in a new window. Whas that the intended outcome?
Good alternative to reformatting it in HTML. I'll add it to the tutorial
cheers,
Tony
Okay, on my Samsung S8, clicked on the hotspot and it resulted in an automatic download of the pdf in a new window. Whas that the intended outcome?
Good alternative to reformatting it in HTML. I'll add it to the tutorial
cheers,
Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
- Hopki
- Gnome
- Posts: 13029
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi Tony,
Yes, so on desktop you get the inline window but on mobile you get a new window for the PDF, so its still readable.
Regards,
Hopki
Yes, so on desktop you get the inline window but on mobile you get a new window for the PDF, so its still readable.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/