garagist/imagedirectory
最新稳定版本:0.2.9
Composer 安装命令:
composer require garagist/imagedirectory
包简介
Returns DataStructure for used images on a Neos CMS website
README 文档
README
With Garagist.ImageDirectory (based on Flowpack.Neos.AssetUsage) you can create an image directory for all used images and videos on a Neos CMS website.
Installation
Add the package, and the storage as dependency in your site package:
composer require --no-update garagist/imagedirectory flowpack/entity-usage-databasestorage
The run composer update in your project root.
Finally you need to run the command to build the initial usage index:
./flow assetusage:update
Fusion prototypes
This package provides two main Fusion prototypes, which returns a Neos.Fusion:DataStructure with all the needed data.
Garagist.ImageDirectory:ByAsset: All used images and videos, sort by asset (One asset can have multiple documents)Garagist.ImageDirectory:ByDocumentAll used images and videos, sort by document (One document can have multiple asssts)
With this data you can create your own view to output the assets. It is recomended to create a dedicated page and put it next to your imprint, etc.
Node Types
This package provide one mixin: Garagist.ImageDirectory:Mixin.Defaults. This sets the defaults, as the image width, the prefix for the copyright text as well as the value if no copyrightNotice is set on the asset.
统计信息
- 总下载量: 3.16k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2022-09-17