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.
Add the package, and the storage as dependency in your site package:
composer require --no-update garagist/imagedirectory flowpack/entity-usage-databasestorageThe run composer update in your project root.
Finally you need to run the command to build the initial usage index:
./flow assetusage:updateThis 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.
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.