docusaurus-plugin-face-crop
v1.0.3
Published
Docusaurus v2 plugin to crop faces in images
Downloads
18
Maintainers
Readme
docusaurus-plugin-face-crop
Docusaurus v2 plugin to crop faces in images.
Getting Started
To begin, you'll need to install docusaurus-plugin-face-crop
:
$ npm install docusaurus-plugin-face-crop --save-dev
Then add the plugin to your docusaurus.config.js
config. For example:
file.js
import profile from "./pictures_dir/profile.jpg";
docusaurus.config.js
module.exports = {
// ...
plugins: [
// ...
[
"docusaurus-plugin-face-crop",
{
paths: [path.resolve(__dirname, "profile_photos")],
},
],
],
};