Member
Member
amyg   2007-07-15, 20:23
#1
Many thanks to the themers who've shared their work with the Simpleviewer galleries!
I've managed to learn from what you've done and attached a different flash gallery to my ZenPhoto install (once I have something to show - I'll post a link.

It occurs to me that it would be nice to create a fall back to a non-flash theme for users who might, for whatever reason, not be able to use the flash player.

Anyone have a clue? Is there already a simple way for users to switch themes?
Developer
Developer
trisweb   2007-07-16, 05:44
#2
That's a great idea, and with zenphoto's theme system it should be easy... but no, there isn't a simple way to allow users themselves to switch themes. There should be. Submit it as a bug! Thanks~
Member
Member
sbillard   2007-07-16, 20:56
#3
I have implemented this capability in effervescence_simpleviewer. If Flash is not present or disabled the page shows two links. One to download Flash, the other to view the album without Flash.

If you click the latter, it adds a `?noflash` parameter to the URL. When album.php detects this parameter it sets a session cookie to remember it. Then if the cookie is present the page shows image thumbnails otherwise it runs the Simpleviewer Flash.

If you wanted a user to be able to switch you could add a link at the footer which pointed to the album URL with the `?noflash` parameter attached. You could also make the cookie more permanant it that is what you desire.
Member
Member
amyg   2007-07-17, 02:01
#4
brilliant, sbillard!
Thanks
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.