Photos on websites are awesome, but reloading a page for every picture is a drag. This photo browser uses jQuery to page through photos without refreshing just like Gowalla. If you haven't seen the browser before you can checkout the pictures i've taken on my travels.
If you want to know some more details about how the code works, read howto: make a Gowalla style photo browser.
- Clickable navigation on top showing next and previous pictures
- Next and Previous buttons
- Clicking the Photo will take you to next photo
- Using Left and right arrow keys will go to next or previous photos
- Photos loop at the end and the beginning in the correct direction
- BackButton, bookmarks, and pasted links function correctly
- Page pre-loads next photo for fast viewing
- Photos page correctly if there is no javascript
bundler
imagemagick
Go to your project directory then clone this repository:
git clone [email protected]:thinkbohemian/Gowalla-Style-Photo-Browser.git
navigate to the newly created folder:
cd gowalla-style-browser
Install the gems
bundle Install
Start the web-server:
rails server
Navigate to http://localhost:3000 and enjoy paging through photos with ease.