All Projects → j0k3r → jekyll-flickr-photoset

j0k3r / jekyll-flickr-photoset

Licence: other
A Jekyll plugin for embedding Flickr photosets

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to jekyll-flickr-photoset

Jekyll Analytics
Plugin to easily add webanalytics to your jekyll site. Currently Google Analytics, Piwik and mPulse are supported.
Stars: ✭ 166 (+315%)
Mutual labels:  jekyll-plugin
flickr-photo-url
Download Flickr photos without API key.
Stars: ✭ 20 (-50%)
Mutual labels:  flickr
Jekyll-Spotify
Easily output Spotify Embed Player for jekyll
Stars: ✭ 15 (-62.5%)
Mutual labels:  jekyll-plugin
Github Metadata
Jekyll plugin to propagate the `site.github` namespace and set default values for use with GitHub Pages.
Stars: ✭ 184 (+360%)
Mutual labels:  jekyll-plugin
Jekyll Admin
A Jekyll plugin that provides users with a traditional CMS-style graphical interface to author content and administer Jekyll sites.
Stars: ✭ 2,531 (+6227.5%)
Mutual labels:  jekyll-plugin
jekyll-extlinks
This Jekyll plugin adds custom attributes (rel="nofollow", target="_blank", etc.) to external links in your content.
Stars: ✭ 18 (-55%)
Mutual labels:  jekyll-plugin
Jekyll Sass Converter
A Sass converter for Jekyll.
Stars: ✭ 133 (+232.5%)
Mutual labels:  jekyll-plugin
jekyll-swagger-ui
A Jekyll plugin to integrate Swagger UI into Jekyll site
Stars: ✭ 16 (-60%)
Mutual labels:  jekyll-plugin
Jekyll Gist
📃 Liquid tag for displaying GitHub Gists in Jekyll sites.
Stars: ✭ 218 (+445%)
Mutual labels:  jekyll-plugin
flickr-uploader
Upload a directory of media to Flickr to use as a backup to your local storage
Stars: ✭ 38 (-5%)
Mutual labels:  flickr
Jekyll Remote Theme
Jekyll plugin for building Jekyll sites with any GitHub-hosted theme
Stars: ✭ 188 (+370%)
Mutual labels:  jekyll-plugin
Jekyll Minifier
Jekyll HTML/XML/CSS/JS Minifier utilising yui-compressor, and htmlcompressor
Stars: ✭ 215 (+437.5%)
Mutual labels:  jekyll-plugin
jekyll-data
A plugin to read '_config.yml' and data files within Jekyll theme gems
Stars: ✭ 40 (+0%)
Mutual labels:  jekyll-plugin
Jekyll Mentions
👥 @mention support for your Jekyll site
Stars: ✭ 176 (+340%)
Mutual labels:  jekyll-plugin
jekyll-avatar
A Jekyll plugin for rendering GitHub avatars
Stars: ✭ 79 (+97.5%)
Mutual labels:  jekyll-plugin
Jekyll Embed Video
Embed videos in Jekyll webpages without a plugin (Youtube, Vimeo, Twitch, Streamable, Mixer, Google Drive clips + more)
Stars: ✭ 135 (+237.5%)
Mutual labels:  jekyll-plugin
jekyll-lazy-tweet-embedding
🐣 A Jekyll plugin to embed the Twitter cards into {.html, .md} pages, by just pasting tweet urls
Stars: ✭ 52 (+30%)
Mutual labels:  jekyll-plugin
jekyll-gzip
Generate gzipped assets and files for your Jekyll site at build time
Stars: ✭ 34 (-15%)
Mutual labels:  jekyll-plugin
jekyll-portfolio-generator
Generates a portfolio/project pages (including related projects) out of data files
Stars: ✭ 55 (+37.5%)
Mutual labels:  jekyll-plugin
apihandyman.io
The apihandyman.io website
Stars: ✭ 14 (-65%)
Mutual labels:  jekyll-plugin

jekyll-flickr-photoset

It's a Jekyll plugin for embedding Flickr photosets in your Liquid templates.

I was moving from Posterous to Jekyll and I was looking for a slideshow gallery like Posterous had. You put a simple tag with a Flickr photoset ID inside your post and it builds a slideshow gallery. So I made it: one tag generates a gallery, no more. Dead simple.

Here is an example of this integration: http://blog.wildtrip.net

Usage

{% flickr_photoset 12345678901234567 %}
{% flickr_photoset 12345678901234567 "Square" "Medium 640" "Large" "Site MP4" %}

Where:

  • 12345678901234567 is the Flickr photoset ID (can be found in this kind of url: http://www.flickr.com/photos/j0k/sets/72157624158475427/)
  • "Square" is the size for the thumbnail image (which also the one by default)
  • "Medium 640" is the size for the displayed image (which also the one by default)
  • "Large" is the size for the opened image (which also the one by default)
  • "Site MP4" is the format for the video in case photoset include a video (which also the one by default)

Other Flickr size can be found here.

Requirements

FlickRaw

Flickraw is a library to access flickr API in a simple way.

gem install flickraw

A Flickr API key

You can obtain a Flickr API key here. And follow instructions on the FlickRaw page for authentication:

  • create a flickr.rb file with content of "Authentication" bloc code
  • replace api_key & shared_secret by the one previously generated on the Flickr website
  • launch it with ruby -rubygems flickr.rb
  • follow instructions

Then put them inside _config.yml (where flickr: is defined on the root level):

flickr:
  cache_dir:       "./_cache/flickr"
  api_key:          xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  shared_secret:    xxxxxxxxxxxxxxxx
  access_token:     xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx
  access_secret:    xxxxxxxxxxxxxxxx

Or define them in ENV variables:

  • FLICKR_API_KEY
  • FLICKR_SHARED_SECRET
  • FLICKR_ACCESS_TOKEN
  • FLICKR_ACCESS_SECRET

There is also an ability to generate cache. It will put all images references from each photoset. It will save a lot of time when you will have to regenerate all your posts. Cache are written in a yml file. Photoset ID is the file name.

Rendering

Foundation Clearing

The master branch use Clearing, from Foundation, to display a kind of gallery. It handles a list of images, and a fullscreen slideshow.

AD Gallery

This is the plugin used to generate the slideshow gallery, which is almost the same from Posterous. You will find references in adgallery folder, I put the latest version (1.2.7).

If you want to use it, switch to the ad-gallery branch. I didn't test it under Jekyll 1.0+.

Inspiration

I've looked inside :

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].