Skip to content

SSARCandy/hexo-tag-photozoom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'