package
Configurable image gallery compatible with the apostrophe cms
npm install @kwsites/cms-imagesGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Estimated unpacked size across 2 packages.
1.4 MB
Includes dependencies.
Extensions for working with images in an apostrophe backed application.
This module includes an 'improve' to the apostrophe-images and apostrophe-images-widgets modules.
apostrophe-images: { showTagFilter: false }apostrophe-images-widgets: { enableRouteReorder: false })apostrophe-images-widgets: { enableRouteFocalPoint: false })Install with npm i @kwsites/cms-images or yarn add @kwsites/cms-images.
Ensure your application also has a dependency on @kwsites/cms-common, which provides the less plugins used by this library to generate its theme.
Add the usual import to your app.js:
apostrophe({
modules: {
'@kwsites/cms-common': {},
'@kwsites/cms-images': {},
}
});At the time of publishing, Apostrophe CMS doesn't automatically support @scoped/ dependency modules,
which causes an error when the CMS starts up and is unable to symlink the source of the modules into the /public folder correctly.
To resolve this, you need to manually create the directory /public/modules/@kwsites before starting the server. To have this run
automatically after installing dependencies, add the following to your package.json scripts block:
{
"scripts": {
"postinstall": "mkdir -p ./public/modules/@kwsites"
}
}