Page 1 of 1

Automatic redirect to mobile gallery if no flash installed

Posted: 14 Dec 2012, 07:18
by 1abild
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

Re: Automatic redirect to mobile gallery if no flash install

Posted: 14 Dec 2012, 10:50
by mjau-mjau
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.

Re: Automatic redirect to mobile gallery if no flash install

Posted: 15 Dec 2012, 07:14
by Nick
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.

Re: Automatic redirect to mobile gallery if no flash install

Posted: 16 Dec 2012, 14:18
by 1abild
Thanks Nick, I will try this in a test-environment.

rgds, Franz