Skip to content
A Hexo tag plugin for image zooming, with a zooming effect similar to Medium.
JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
src
.eslintrc.json
.gitignore
LICENSE
README.md
demo.gif
index.js
package-lock.json
package.json

README.md

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' 
You can’t perform that action at this time.