hexo-tag-photozoom

1.0.2 • Public • Published

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' 

Dependencies (1)

Dev Dependencies (2)

Package Sidebar

Install

npm i hexo-tag-photozoom

Weekly Downloads

11

Version

1.0.2

License

MIT

Unpacked Size

1.01 MB

Total Files

10

Last publish

Collaborators

  • ssarcandy