Giter VIP home page Giter VIP logo

flickr-photo-jekyll's Introduction

Flickr-Photo-Jekyll

Installation

To register it as a plugin, copy _plugins/main_flickr.rb to the _plugins directory of your jekyll project.

Requires an API Key

The plug-in requires a Flickr API key in _config.yml (where "flickr:" is defined on the root level):

flickr:
  api_key: 84ad7df61b82e136a98bbf99fa997b3e

Get your API key here. A Jekyll plug-in for embedding Flickr photos in your Liquid templates.

Usage:

{% main_photo 20348431344 %}
{% main_photo 20348431344 "Square" %}

... where 20348431344 is the Flickr photo ID, and "Square" is the size label as defined here by Flickr.

Medium (~500px width) is the default.

  • 'Square' width="75" height="75"
  • 'Large Square' width="150" height="150"
  • 'Thumbnail' width="75" height="100"
  • 'Small' width="180" height="240"
  • 'Small 320' width="240" height="320"
  • 'Medium' width="375" height="500"
  • 'Medium 640' width="480" height="640"
  • 'Medium 800' width="600" height="800"
  • 'Large' width="768" height="1024"
  • 'Large 1600' width="1200" height="1600"
  • 'Original' width="1200" height="1600"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.