Posts by Andy4nothin
-
-
-
Cheers indexofrefraction .
I've now got
onstart="js:alert(krpano.xml.scene);"
doing what I hoped for.
Interesting that you need to prefix xml.scene with krpano when using the "js:".
I'm really enjoying this, but baby steps and such a steep learning curve - for me anyways.
-
Thanks again indexofrefraction .
Dropped the alert into the onstart of the tour.xml and it pops up nicely.
Just trying to figure out how to reference the title to pass as a variable into the onstart: js:alert('get:thisscene.title') is what I need but I'll keep looking.
-
I've spent hours trawling the forum, looking at the source of the javascript examples, reading and re-reading the documentation, experimenting in my webpage, but I just cannot get a simple javascript alert to pop up when a new scene has loaded.
Conclusion: I have the brain power of a fruit fly!
If someone could give me a few pointers it would really be appreciated. I don't have any experience with KRPano and can only really copy and adapt javascript.
What I need is to have the player tell me when a scene has loaded, but not the first scene.
-
Cheers indexofrefraction !
I'd seen a number of people mention VS when I was researching HTML editors, but never got round to looking at it because I thought it would require seperating me from some cash.
Just downloaded it, and as you mention - loads of extensions.
I have Coldfusion running on my PC so that I can look at my old website. I've now downloaded a couple of extensions for CF so that VS displays the tags correctly.
Amazing!
-
Thanks for your replies, guys.
That sounds really positive. Less resizing and better quality.
I think I may be a little paranoid about factors relating to SEO, because the traffic to my last website fell to such a low level that I decided to close it down.
-
Does anyone find it necessary to reduce the pixel width and height and increase compression in order to achieve faster page load times?
Am I becoming obsessive about SEO?
I know that long page loading times can be a turn off for visitors and search engines take this into account. Clicking between panos in a tour results in 64 calls to the server. Loading a new pano appears to pull 3-4mb of jepgs.
My images are a little over 16,000 x 8,000 pixels and the resulting folders of tour jpegs are roughly 45mb each. I've experimented with compression and subsampling which can get a tour folder down to around 31mb, but reducing the images to 9000 x 4500 pixels offers a huge reduction to just 12mb. I've gone down to 60% on compression.
I'm assuming the majority of visitors (hoping I get some) will be on a smartphone, so are lower resolution images acceptable?
What pixel dimensions do you guys use and what level of compression? Is it possible to have the first pano at lower res and the remainder at a higher res to help with initial page download time? Does it even matter?
This is for a personnel hobby website, so whilst I would like to offer good image quality to visitors, I need to offer a compromise between image quality and speed of the website.
-
Thanks for that, Klaus.
How do I intercept the mousedown on the individual thumbnails within your player?
Can this be perfomed by including javascript within the xml?
How do I target each individual thumbnail? Is there any way I can expose the structure of the thumbnails to see their ID's?
-
I'm just getting my head under the hood of KRPano, but because you guys understand what you're talking about, you tend to only include snippets of code in your posts, which makes it difficult to understand the overall structure of KRPano, webpage, xml and javascript, and how they interact. Are there any well commented tutorials that describe tackling all of these on a single page and the interation between them? I need to see the entire solution so that I can understand it. I'm pretty dense.
I'm working on a new website, and the SEO landscape has changed somewhat since I last did any scripting/coding. Bounce rate appears to be a consideration for Google, and a tour, whilst possibly engaging your visitor for several minutes, may then result in a bounce if they don't click through to another page on your site. To me, with my limited knowledge, it looks almost essential to send the pano loading events to GA so that they can see interation is occuring on the page and prevent a single page load being considered a bounce.
Am I mistaken in this assumption? Do you send mousedown or pano loaded events to GA or rely on visitors hitting a second page on your website? Is it even a consideration?
So how do I get a thumbnail click in a virtual tour sent as an event to GA? I have spent hours trawling the site and forum, and whilst I have found the relevant javascript I still can't see where it goes or the bigger picture of how it all works together.
-
-
First of all, I'd like to say, as a former user of Panotour Pro, how truly amazed I was to be able to enter my email address into this website and recover the licence for KRPano after 10 years! I really appreciate that.
I'm just getting back into designing a new website in which I'll be including a number of panos I took several years ago. My previous website (retired a while ago) used ColdFusion and a MySql database. My plan this time around is for a static site, so I'm looking for an HTML editor.
I would be interested to hear how other 360 photographers go about integrating the KRPano HTML into their websites and with what software.
Although I've coded from scratch in the past, it's not something I've done as a profession or for several years, and I don't shoot 360's professionally either. I just have a keen interest.
-
"Chrome does not work at all. Just a lot of scrambled pixels."
I encountered the same issue with Chrome and Opera. It appears to be these 2 browsers are using webgl.
I used the script found here: https://krpano.com/docu/html/?version=116#example7
and replaced 'return "prefer"' with 'return "prefer+css3d"'.
Both browsers work fine with pano viewer now.