Sie sind nicht angemeldet.

mham

Anfänger

  • »mham« ist der Autor dieses Themas

Beiträge: 28

Wohnort: Stockholm, Sweden

  • Nachricht senden

1

Sonntag, 12. Februar 2012, 12:16

Random krpanoJS error on iPhone 3Gs

Hi,

I get a Random krpanoJS error on iPhone 3Gs. I prepare all the panoramas the same way and upload them, use the same code/page to view them but some of them open in iPhone 3Gs, some other generate an error.
I attach the error I get on the iPhone screen from some of them "bild.PNG".
I also attach the screen shot from one of the panoramas that opens without any errors (image2.PNG)

To generate the panorama I use the "MAKE PANO (NORMAL) droplet", and make 6 cube faces for the normal pano, 6 for iPhone and 6 for iPad.
then use the html code to open and automatically detect which device it is opened on.

Another old problem that I have is that the images that open have very poor quality on iPhone 3Gs:
these are the parameters I use when generating the mobile device cubes
buildmobileimages=auto
buildmobileres=512
buildtabletimages=auto
buildtabletres=1024
jpegquality=82
jpegsubsamp=422
jpegoptimize=true

I attach the "image3.PNG" to show how the loaded panorama looks like on iPhone 3Gs when the icon on the lower right corner of the iPhone screen, used to switch between the open web pages, is pushed. Seems like that although using 512 for mobiles I get a far smaller image than what is required to fill the iphone screen and therefore a very poor quality as it has to be stretched to fill the screen.

Thank you for your help.
Mahmood
»mham« hat folgende Bilder angehängt:
  • bild.PNG
  • image2.PNG
  • image3.PNG

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »mham« (12. Februar 2012, 12:30)


Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

2

Sonntag, 12. Februar 2012, 15:49

It looks like you removed essential meta tags. Open the created htmls from krpano and inspect your htmls.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

mham

Anfänger

  • »mham« ist der Autor dieses Themas

Beiträge: 28

Wohnort: Stockholm, Sweden

  • Nachricht senden

3

Sonntag, 12. Februar 2012, 16:04

Thanks for the response Sasha.
Hmmm,
weird, the htmls are generated on the fly by PHP codes for all the panoramas,
I wonder how come for some of them the iPhone is able to show the pano and for some other it cannot.

Link for one that is shown is:
http://www.stockholm360.net/fp.php?id=denon

Link for one that is NOT shown is:
http://www.stockholm360.net/fp.php?id=runsten

Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »mham« (12. Februar 2012, 21:01)


4

Dienstag, 14. Februar 2012, 17:34

Hi,

that's not a random reason - the reason is already shown in the error message, and this is correct - the xml parser of the browser had reported an xml parsing error,

just try to open the xml directly in the browser and see the xml errors:
http://www.stockholm360.net/xml/runsten.xml

about 'poor quality' - I have answered that question in your other thread:
Why different iPhone qualitly from cube vs multires

best regards,
Klaus

mham

Anfänger

  • »mham« ist der Autor dieses Themas

Beiträge: 28

Wohnort: Stockholm, Sweden

  • Nachricht senden

5

Mittwoch, 15. Februar 2012, 21:39

thanks.

Thank you Klaus,
It was the use of Character Entity references in the contents that caused the problem then, so annoying, they work in html but not in xml.
Anyway, the problem is solved now.

Thanks again,
Mahmood