Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ssarcandy/hexo-tag-photozoom
A Hexo tag plugin for image zooming, with a zooming effect similar to Medium.
https://github.com/ssarcandy/hexo-tag-photozoom
hexo hexo-tag image-viewer nodejs
Last synced: about 2 months ago
JSON representation
A Hexo tag plugin for image zooming, with a zooming effect similar to Medium.
- Host: GitHub
- URL: https://github.com/ssarcandy/hexo-tag-photozoom
- Owner: SSARCandy
- License: mit
- Created: 2020-02-01T14:04:14.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-19T15:49:35.000Z (over 1 year ago)
- Last Synced: 2024-10-11T18:37:50.686Z (3 months ago)
- Topics: hexo, hexo-tag, image-viewer, nodejs
- Language: JavaScript
- Homepage: https://ssarcandy.tw/2020/02/09/develop-hexo-plugin/
- Size: 1.34 MB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hexo Photo Zoom
![](https://img.shields.io/npm/v/hexo-tag-photozoom)
![](https://img.shields.io/github/license/SSARCandy/hexo-tag-photozoom)
A hexo tag plugin for image zooming, with a zooming effect similar to Medium._This plugin use zoom.js created by [@fat](https://github.com/fat/zoom.js) and [@nishanths](https://github.com/nishanths/zoom.js)_
## Usage
```
{% zoom /path/to/image [/path/to/thumbnail] [title] %}
``````yaml
# in _config.yamlphotozoom:
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'
```