ideative/stock-pictures
最新稳定版本:12.0.2
Composer 安装命令:
composer require ideative/stock-pictures
包简介
Allows backend users to select stock pictures from various online services
README 文档
README
This extension provides a base for connecting Stock picture services to the TYPO3 backend. For each connected service, a "Add media from XXX" button will be added in Media files.
To get started quickly, you can use one of the following extensions :
- https://github.com/ideativedigital/shutterstock-connector
- https://github.com/ideativedigital/unsplash-connector
Installation
Install this extension via composer require ideative/stock-pictures or download it from the TYPO3 Extension Repository and activate the extension in the Extension Manager of your TYPO3 installation.
Registering a new stock picture service
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['stock-pictures'['connectors']['myservice'] = \Acme\MyExtension\Connector\MyServiceConnector::class
Your connector class must implement the Ideative\IdStockPictures\ConnectorInterface interface. Checkout the class documentation to understand the purpose of each interface method.
Take the ShutterStockConnector from EXT:id_shutterstock_connector as a kickstart.
Disabling a stock picture service for a specific table/field
Each specific service can be manually disabled for a specific table and field, using TSConfig. This will hide the "Add media from XXX" button in this specific field.
TCEFORM {
tx_myextension_tablename {
my_fieldname {
tx_idstockpictures {
connectors {
shutterstock.enabled = 0
unsplash.enabled = 0
...
}
}
}
}
统计信息
- 总下载量: 5.69k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2021-01-22