Image viewer is an image gallery, it will be shown up when you click a non-linkable image.
It also provides many tools, such as zoom in, zoom out and rotate.
The author avatar was filtered by default.
Site Parameters#
Image Viewer was turned on by default, you can turn it off by setting the parameter viewer
as false
.
Options#
You can tweak the options by creating assets/viewer/js/options.ts
.
1const options = {
2 className: "image-viewer",
3 // ...
4};
5export default options;
1
2Avialable options are listed on [Viewer.js Options](https://github.com/fengyuanchen/viewerjs#options).
评论