Recently I uploaded some pictures to my online photo album, which is powered by an Open Source PHP software called Gallery2.
One problem I experienced with this software is the lack of a convenient way to navigate the photos by using keyboard shortcuts. One must use the navigation buttons to move to the next or previous photo:

Aiming the tiny buttons is not easy, especially when you are using a big screen computer, or on a laptop without an external mouse.
Last week, I looked into the template file for the photo page of Gallery2, made some modifications, so now one can use keyboard to go to the previous and next photo. For example, open the following picture:
If you use Macintosh:
Firefox browser, Ctrl+> (period key) to go to next photo, Ctrl+< (comma key) to previous photo,
Safari browser, Ctrl+Option+> to next photo, Ctrl+Option+< to previous photo;
Windows computer:
Firefox browser, Alt+Shift+> to next photo, Alt+Shift+< to previous by default, (one can change that to Alt+> and Alt+< by changing the value of ui.key.contentAccess to 4, inside the about:config configuration page)
Internet Explorer, Alt+> or Alt+< followed by the Enter key
Google Chrome, Alt+> or Alt+<, without hitting the Enter key