Search…

X3 Photo Gallery Support Forums

Search…
 
manchan
Topic Author
Posts: 16
Joined: 01 Aug 2012, 12:26

cannot load the mobile gallery in mobile devices

08 Jul 2014, 07:42

Dear All,

I dont know why the gallery cannot be loaded in mobile devices....

my link is:

http://demo1333.wcpdemo.com/gallery.html

P.S. It works fine in desktop browser, but when I use android phone or tablet, the gallery cannot be loaded....

Please help !! Thanks.

Man Chan
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: cannot load the mobile gallery in mobile devices

08 Jul 2014, 08:58

You have created a custom gallery.html index page, which does not redirect mobile users to the Imagevue mobile version. The reason there is a separate mobile version, is because the Imagevue flash version does not work on mobile ...

It works fine if you access the Imagevue link directly:
http://demo1333.wcpdemo.com/imagevue/
 
manchan
Topic Author
Posts: 16
Joined: 01 Aug 2012, 12:26

Re: cannot load the mobile gallery in mobile devices

08 Jul 2014, 09:31

Dear Mjau,

Thanks for your reply, I think I am understand what you mean...but how can I solve this problem?

That means, I want people when using mobile device, click on the gallery buttom, then they can go to see the Mobile Gallery..

Do you have any ideas?

Thanks

Man Chan
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: cannot load the mobile gallery in mobile devices

09 Jul 2014, 05:15

The easiest way for you at this point, is probably to add a small javascript redirect in your page gallery.html:
Code
<script>
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
  window.location = "/imagevue/";
}
</script>
The javascript will redirect mobile users to the native Imagevue gallery where they will see the mobile version.