A quick-and-dirty extension that allows you to add paginated Flickr Galleries to a Spree store.
JavaScript Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
lib/tasks
public
LICENSE
README.textile
Rakefile
flickr_pages_extension.rb

README.textile

Spree Flickr Photos Extension

A quick-and-dirty extension that allows you to add paginated Flickr Galleries to a Spree store.

Requirements

Gems
Flickr_fu, http://github.com/commonthread/flickr_fu
Will_Paginate, http://wiki.github.com/mislav/will_paginate

How to Install

Place the flickr_pages_ extension in vendor/extensions


  git://github.com/bcalloway/spree-flickr-pages.git vender/extensions/flickr_pages

How to Use

As per the flickr_fu instructions, place a file called flickr.yml in the config directory that contains the following information:


  key: abc123abc123abc123abc123abc123abc123abc123abc123abc #your api key
  secret: abc123abc123abc #your secret key

In order to pull the desired photos from your Flickr account, route to this uri:/photos

In order to show a gallery of tagged photos, route to this uri: /photos/:tag where the tag param is the tag you with to show.

You can also use setnames instead of tags if you wish. Just look through the code and you’ll see how to accomplish this.

Copyright © 2010 Brandon Calloway, released under the MIT License