Skip to content

SSARCandy/hexo-tag-photozoom

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Hexo Photo Zoom

A hexo tag plugin for image zooming, with a zooming effect similar to Medium.

This plugin use zoom.js created by @fat and @nishanths

Usage

{% zoom /path/to/image [/path/to/thumbnail] [title] %}
# in _config.yaml

photozoom:
    enable: true
    # Lower priority means that it will be executed first.
    priority: 10
    # Show caption at the bottom of photo, default is "true"
    caption: true
    # Class name of caption, default is "zoom-initial-caption"
    caption_class: 'my-caption'