Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

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' 

Install

npm i hexo-tag-photozoom

DownloadsWeekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

1.01 MB

Total Files

10

Last publish

Collaborators

  • avatar