承接 garagist/imagedirectory 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

garagist/imagedirectory

最新稳定版本:0.2.9

Composer 安装命令:

composer require garagist/imagedirectory

包简介

Returns DataStructure for used images on a Neos CMS website

README 文档

README

Latest stable version GitHub stars GitHub watchers GitHub license GitHub issues GitHub forks

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:ByDocument All 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
  • 点击次数: 3
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2022-09-17