Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
1abild
Topic Author
Posts: 13
Joined: 06 May 2011, 08:17

Automatic redirect to mobile gallery if no flash installed

14 Dec 2012, 07:18

In my opinion it would be fantastic, if an option would be available to redirect a browser automatically to the mobile version if Flash is not installed.
Of course, this should only happen when the visitor is not a spider / crawler.

The mobile version looks much better than the HTML gallery. If it would be possible to define a maximum width / height in the admin settings for the mobile gallery being displayed on a desktop computer, the 'viewing experience' will be as good as on a tablet / phone.

Merry Christmas!

rgds, Franz
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Automatic redirect to mobile gallery if no flash install

14 Dec 2012, 10:50

You may be right ... The mobile version is currently very limited to mobile only. Personally, I think it looks quite odd on a large screen ... Also, most non-mobile desktop computer do in fact have flash installed, so not many devices fall into this group.

I guess the ultimate solution would be to have a much cooler html gallery, which is essentially part of our future plan.

You might be able to hack it to redirect to mobile version if !flash ... Nick will need to answer you on that.
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: Automatic redirect to mobile gallery if no flash install

15 Dec 2012, 07:14

To have Imagevue to switch to mobile gallery when you don't have flash player, copy
Code
iv-includes/templates/mobile/index.html.phtml
iv-includes/templates/mobile/layout.phtml
to
Code
iv-includes/templates/default/index.html.phtml
iv-includes/templates/default/layout.phtml
This will replace the html gallery with the mobile gallery so when there is no flash player the visitors will see the mobile gallery.
firedev.com
 
User avatar
1abild
Topic Author
Posts: 13
Joined: 06 May 2011, 08:17

Re: Automatic redirect to mobile gallery if no flash install

16 Dec 2012, 14:18

Thanks Nick, I will try this in a test-environment.

rgds, Franz