You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Kabkee

Trainee

  • "Kabkee" started this thread

Posts: 90

Location: South Korea

Occupation: South Korea

  • Send private message

1

Sunday, October 14th 2018, 5:26am

Mobile Simulating on Krpano <image>

Hi,

Is there any way to set mobile mode like simulating krpano mobile mode?
Which means, I'd like to see mobile mode images when I use following codes

Source code

1
2
3
4
5
<image>
  <cube url="pano_%s.jpg" />
  <mobile devices="mobile"> <cube url="mobile_%s.jpg" /> </mobile>
  <mobile devices="tablet"> <cube url="tablet_%s.jpg" /> </mobile>
</image>


For checking out mobile mode and tablet mode, it's not easy to get accessed deferent devices on local server every time.
What I want is ONLY to see the image qualities regardless to device OS, screen size, or etc.

2

Monday, October 15th 2018, 9:57am

Hi,

make sure that the passQueryParameters setting is set to true in the html file,

then simply call your tour url with fakedevice=mobile as url parameter - e.g.

Source code

1
.../yourwebsite/tour.html?fakedevice=mobile


Best regards,
Klaus

Kabkee

Trainee

  • "Kabkee" started this thread

Posts: 90

Location: South Korea

Occupation: South Korea

  • Send private message

3

Monday, October 15th 2018, 10:51am

Thank you!!

Hi,

*thumbup*


Always, Respect as usual