All Projects → rdgpt → hexo-instagram-wall

rdgpt / hexo-instagram-wall

Licence: MIT License
Displays up to 18 most recent images from your Instagram account

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to hexo-instagram-wall

hexo-tag-hint
A Hexo tag plugin to display text hint/spoiler tooltip.
Stars: ✭ 26 (+116.67%)
Mutual labels:  hexo, hexo-plugin
hexo-bilibili-bangumi
hexo 番剧页面插件,可选数据源:Bilibili, Bangumi
Stars: ✭ 252 (+2000%)
Mutual labels:  hexo, hexo-plugin
hexo-reading-time
Plugin for Hexo CMS to display reading time for article
Stars: ✭ 28 (+133.33%)
Mutual labels:  hexo, hexo-plugin
hexo-include-markdown
Easily load markdownfiles in Markdown .
Stars: ✭ 16 (+33.33%)
Mutual labels:  hexo, hexo-plugin
hexo-netlify-cms
☕ A cup of coffee time to enable Netlify CMS
Stars: ✭ 29 (+141.67%)
Mutual labels:  hexo, hexo-plugin
hexo-steam-games
为Hexo添加Steam游戏库页面
Stars: ✭ 24 (+100%)
Mutual labels:  hexo, hexo-plugin
hexo-tag-instagram
Embed instagram photo and movie tag plugin for Hexo.
Stars: ✭ 23 (+91.67%)
Mutual labels:  hexo, hexo-plugin
hexo-tag-xvideos
🔞 Embed xvideos player in your Hexo posts/pages
Stars: ✭ 17 (+41.67%)
Mutual labels:  hexo, hexo-plugin
hexo-hide-posts
A plugin to hide specific posts from your Hexo blog and make them only accessible by links. (隐藏 Hexo 文章)
Stars: ✭ 149 (+1141.67%)
Mutual labels:  hexo, hexo-plugin
hexo-filter-optimize
A Hexo plugin that optimize the pages loading speed.
Stars: ✭ 41 (+241.67%)
Mutual labels:  hexo, hexo-plugin
hexo-douban-card
在hexo文章中插入豆瓣读书,豆瓣电影,豆瓣音乐组件
Stars: ✭ 56 (+366.67%)
Mutual labels:  hexo, hexo-plugin
hexo-covers
Microbrowser covers for Hexo static site generator
Stars: ✭ 15 (+25%)
Mutual labels:  hexo, hexo-plugin
hexo-directory-category
Automatically add category to Hexo article according to the article file directory.
Stars: ✭ 35 (+191.67%)
Mutual labels:  hexo, hexo-plugin
hexo-filter-mathjax
💯 Server side MathJax renderer plugin for Hexo.
Stars: ✭ 76 (+533.33%)
Mutual labels:  hexo, hexo-plugin
hexo-filter-plantuml
Using PlantUML to generate UML Diagram for hexo
Stars: ✭ 23 (+91.67%)
Mutual labels:  hexo, hexo-plugin
spark-ar-creators
List of 9500 (and counting) Spark AR Creators. Open an issue or contact me if you want to be added.❤️
Stars: ✭ 122 (+916.67%)
Mutual labels:  instagram
dmi-instascraper
A GUI for Instaloader to scrape users and hashtags with on Instagram
Stars: ✭ 21 (+75%)
Mutual labels:  instagram
picidaejs
🐦Picidae is a document generator which has gentle experience.
Stars: ✭ 24 (+100%)
Mutual labels:  hexo
instagram-api-clone
Instagram RESTful API clone made with Django REST framework
Stars: ✭ 56 (+366.67%)
Mutual labels:  instagram
hexo-theme-cake
🍰 It's a lovely hexo theme, sweet.
Stars: ✭ 20 (+66.67%)
Mutual labels:  hexo

Instagram Photo Wall

This is a plugin for Hexo to pull in your own images from Instagram.

Before you can use this plugin, you must obtain an access token from Instagram.

Usage

To use, install as usual on your Hexo site:

npm install hexo-instagram-wall --save

Then, follow these steps:

  1. In your _config.yml, make settings for this plugin like this:

    instagramWall:  
      enable: true  
  2. Save your access token as an environment variable named INSTAGRAM_WALL_TOKEN. Optionally, you can save this in your _config.yml:

    instagramWall:  
      enable: true  
      access_token: XXXXXXXXX  
  3. (Optional) Create your display settings. If you create settings here, they will be used for all instances of Instagram Wall on your website. However, you can also override these settings for each instance you create (see the next step for details).

    instagramWall:  
      enable: true  
      requestedCount: 18  
      itemsPerRow: 3  
      showCaption: true  
      displayStyle: 'flex' | 'column' | 'custom'  
      gutterSize: '10px'  
      overlayColor: 'black'  
      textColor: 'white'  
  4. Add the tag to your template:
    <%- instagramWall() ->
    Or, override default display settings:
    <%- instagramWall(requestedCount, itemsPerRow, showCaption, overlayColor, textColor, displayStyle, gutterSize) ->
    For example, to show 5 items in a single column whilst hiding the captions:
    <%- instagramWall(5, 1, false) ->

Description of option settings

The globally defined settings are used for all instances of Instagram Wall that you put in your template files. However, you can override these settings for each individual usage. (See the Usage directions above).

Since the settings can be overridden for each usage, it is possible for you to add as many instances of this plugin on each page as you need. For example, one wall can be added to a sidebar on your website, and another can be added to the main content area.

  1. requestedCount - The number of items to pull from Instagram. The maximum number is 20 items.
    default: 20
    valid options: any number from 1-20
  2. itemsPerRow - The number of items to show in each horizontal row.
    default: 3
    valid options: any number
  3. showCaption - Whether you want to show captions.
    default: true
    valid options: true or false
  4. displayStyle - The type of inline CSS added to the wall. Flex setting uses flexbox, Column setting uses CSS columns, and Custom setting does not apply any inline CSS.
    default: flex
    valid options: flex, column, custom
  5. gutterSize - Defines the amount of spacing between row items.
    default: 10px
    valid options: Any amount of spacing, including the units.
  6. overlayColor - The background color for the caption. This setting is only useful if showCaption is true.
    default: black
    valid options: Any string value for a color. You can pick a named color, hex, rgb, rgba, hsla, etc.
  7. textColor - The text color for the caption. This setting is only useful if showCaption is true.
    default: white
    valid options: Any string value for a color. You can pick a named color, hex, rgb, rgba, hsla, etc.
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].