ZenphotoCMS Forum
- Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: (/thread-12865.html)



- Guest - 2026-06-26

Hello,

Is it possible to navigate from image to image by using left/right arrow keys? About the same way as in Facebook. I currently have a fresh install with the default plugins only. Hopefully this is possible to achieve without any extra plugins. Couldn't get it to work i Fx 3.0 at least.




- acrylian - 2008-08-05

None of the themes is set up (to my knowledge) for keyboard usage. Of course that is possible, this could be done without plugins, but you would need to change the html/css of the theme you wish to use. There are basically two solutions:

  1. HTML: Using access keys within : http://en.wikipedia.org/wiki/Access_keys
  2. Javescript: Using eventhandlers (onKeydown etc): http://www.w3schools.com/jsref/jsref_events.asp



- krainbolt - 2008-08-06

Take a look at the Cimi theme for one way to implement this.




- saraconstanca - 2011-05-24

Here is a possible solution created by my dear friend Jorge Matias who is helping me with webdesign development:

Insert this code snippet in the file: "zenphoto/themes/default/image.php" just before the tag "",

  • ------8

                                     break;
                     }
             }
  • ------>8------

Jorge




- acrylian - 2011-05-24

It is probably much easier to do this using jQuery. If you can live with pressing an two keys you even could do this with CSS alone.




- Laurent - 2011-05-24

Or use this plugin http://www.zenphoto.org/news/keyboard-plugin




- acrylian - 2011-05-24

Right, always good to look what is already there...;-)




- saraconstanca - 2011-05-24

This is cool Laurent, it seems to be pretty much the same thing Jorge Matias did but thanks any way.

I did search for it here Acrylian, but all I found was this thread. I'm probably just a newbie...




- acrylian - 2011-05-24

My comment was actually because I did forget that plugin as well as I did not look, too.