no-flash fall back for Flash themes?

amyg Member
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?

Comments

  • trisweb Administrator
    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~
  • 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.
  • amyg Member
    brilliant, sbillard!
    Thanks
Sign In or Register to comment.